cub::PtxVersion

Defined in /home/runner/work/cccl/cccl/cub/cub/util_device.cuh

inline cudaError_t cub::PtxVersion(int &ptx_version)

Retrieves the PTX version that will be used on the current device (major * 100 + minor * 10).

Note

This function may cache the result internally.

Note

This function is thread safe.