Fix Cuda builds for version >= 11.4
Created by: TomTheBear
Nvidia changed the way how to determine the subevents required for a metric. Fixes #423
Created by: TomTheBear
Nvidia changed the way how to determine the subevents required for a metric. Fixes #423