|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Functions | |
| void | printDeprecatedDeviceInfo (std::ostream &os, const cudaDeviceProp &prop) |
| Prints device information that was deprecated or removed in CUDA 13.0. | |
| void | printComputeModeInfo (std::ostream &os, const cudaDeviceProp &prop) |
| Prints the device's compute mode using a legacy string mapping. | |
| void ModuleBase::cuda_compat::printComputeModeInfo | ( | std::ostream & | os, |
| const cudaDeviceProp & | prop | ||
| ) |
Prints the device's compute mode using a legacy string mapping.
The compute mode display logic is encapsulated here as it relies on aspects of the driver model that have changed.
| os | The output stream (e.g., std::cout, std::ofstream). |
| prop | The cudaDeviceProp structure containing device properties. |
| void ModuleBase::cuda_compat::printDeprecatedDeviceInfo | ( | std::ostream & | os, |
| const cudaDeviceProp & | prop | ||
| ) |
Prints device information that was deprecated or removed in CUDA 13.0.
This function handles properties like clockRate, memoryClockRate, memoryBusWidth, and concurrency flags, which are not available in newer CUDA toolkits.
| os | The output stream (e.g., std::cout, std::ofstream). |
| prop | The cudaDeviceProp structure containing device properties. |