#include <string_view>
Provides GPU and non-GPU specific functionality.
Definition in file device.hpp.
Go to the source code of this file.
|
|
#define | device_error_check(ARG1, ARG2) |
| | Trigger a compilation error every time the nda::device_error_check function is called.
|
|
|
template<bool flag = false> |
| void | nda::compile_error_no_gpu () |
| | Trigger a compilation error in case GPU specific functionality is used without configuring the project with GPU support.
|
|
void | nda::cuda_device_sync (bool do_sync=true, std::string_view func="") |
| | Empty function if CudaSupport is not enabled.
|
|
|
static constexpr bool | nda::have_cuda = false |
| | Constexpr variable that is true if the project is configured with CUDA support.
|
|
static constexpr bool | nda::have_device = false |
| | Constexpr variable that is true if the project is configured with GPU support.
|