GPU: Prevent CUDA 13 from breaking the GPUbenchmark#14706
Conversation
Some features are moved out from the `cudaDeviceProp` struct starting from CUDA 13.
|
REQUEST FOR PRODUCTION RELEASES: This will add The following labels are available |
There was a problem hiding this comment.
Pull Request Overview
This PR updates the CUDA GPU benchmark code to maintain compatibility with CUDA 13, where certain properties have been removed from the cudaDeviceProp struct and must now be accessed through device attribute queries.
- Introduces conditional compilation to handle CUDA version differences
- Replaces direct property access with
cudaDeviceGetAttributecalls for CUDA 13+ - Removes output for properties no longer available in newer CUDA versions
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
* GPU: Prevent CUDA 13 from breaking the GPUbenchmark Some features are moved out from the `cudaDeviceProp` struct starting from CUDA 13. * Please consider the following formatting changes (AliceO2Group#14707) * Add cooperativeMultiDevice variable in Kernels.cu --------- Co-authored-by: ALICE Builder <alibuild@users.noreply.github.com>
Some features are moved out from the
cudaDevicePropstruct starting from CUDA 13.