|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Compatibility layer for CUDA and NVTX headers across different CUDA Toolkit versions. More...
#include <iostream>#include <stdexcept>#include <cuda.h>#include <cuda_runtime.h>#include <cufft.h>Go to the source code of this file.
Namespaces | |
| namespace | ModuleBase |
| namespace | ModuleBase::cuda_compat |
Functions | |
| void | ModuleBase::cuda_compat::printDeprecatedDeviceInfo (std::ostream &os, const cudaDeviceProp &prop) |
| Prints device information that was deprecated or removed in CUDA 13.0. | |
| void | ModuleBase::cuda_compat::printComputeModeInfo (std::ostream &os, const cudaDeviceProp &prop) |
| Prints the device's compute mode using a legacy string mapping. | |
| const char * | ModuleBase::cuda_compat::cufftGetErrorStringCompat (cufftResult_t error) |
| Provides a cross-CUDA-version string conversion for cuFFT error codes. | |
Compatibility layer for CUDA and NVTX headers across different CUDA Toolkit versions.
This header abstracts the differences in NVTX (NVIDIA Tools Extension) header locations between CUDA Toolkit versions.