|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Throwing error-check function for HIP/CUDA GPU API calls. More...
#include "core/GPUPortability.hpp"#include <format>#include <source_location>#include <stdexcept>

Go to the source code of this file.
Classes | |
| class | correlation::core::gpu::GPUError |
| Exception type for GPU runtime errors. More... | |
Namespaces | |
| namespace | correlation |
| namespace | correlation::core |
| namespace | correlation::core::gpu |
Functions | |
| void | correlation::core::gpu::hipCheck (hipError_t result, std::source_location loc=std::source_location::current()) |
| Validates a HIP/CUDA runtime call result and throws GPUError on failure. | |
Throwing error-check function for HIP/CUDA GPU API calls.