|
Peano
|
#include "Device.h"#include "tarch/multicore/multicore.h"#include "tarch/compiler/CompilerSpecificSettings.h"#include "tarch/accelerator/sycl/Device.h"

Go to the source code of this file.
Namespaces | |
| namespace | tarch |
| Have to include this header, as I need access to the SYCL_EXTERNAL keyword. | |
| namespace | tarch::internal |
Macros | |
| #define | GPUOffloadingOff |
| #define | GPUCallableMethod |
| #define | GPUCallableInlineMethod |
Enumerations | |
| enum class | tarch::MemoryLocation { tarch::Heap , tarch::ManagedSharedAcceleratorDeviceMemory } |
Functions | |
| void | tarch::gpuAbort () |
| Delegates to std::abort() if no GPU offloading is active. | |
| std::string | tarch::toString (MemoryLocation value) |
| void * | tarch::internal::allocateRawData (std::size_t size, MemoryLocation location, int device) |
| template<class T = double> | |
| T * | tarch::allocateMemory (std::size_t count, MemoryLocation location, int device=accelerator::Device::HostDevice) |
| Allocates memory on the specified memory location. | |
| void | tarch::freeMemory (void *data, MemoryLocation location, int device=accelerator::Device::HostDevice) |
| Free memory. | |
| std::size_t | tarch::padSizeToAlignment (std::size_t size, std::size_t alignment) |
| double * | tarch::memset (double *dest, double ch, size_t byteCount) |
| Alternative GPU-ready version of memset. | |
| #define GPUCallableInlineMethod |
Definition at line 37 of file accelerator.h.
| #define GPUCallableMethod |
Definition at line 27 of file accelerator.h.
| #define GPUOffloadingOff |
Definition at line 11 of file accelerator.h.