|
Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
|
Classes | |
| class | DeviceBuffer |
| RAII wrapper for a typed GPU device allocation. More... | |
| class | GPUError |
| Exception type for GPU runtime errors. More... | |
Functions | |
| void | hipCheck (hipError_t result, std::source_location loc=std::source_location::current()) |
| Validates a HIP/CUDA runtime call result and throws GPUError on failure. | |
|
inline |
Validates a HIP/CUDA runtime call result and throws GPUError on failure.
| [in] | result | The error code returned by the GPU runtime call. |
| [in] | loc | The source location where the check was invoked. |
| GPUError | If result is not equal to hipSuccess. |

