1#ifdef DFTEFE_WITH_DEVICE
3# ifndef dftefeDeviceAPICalls_H
4# define dftefeDeviceAPICalls_H
13 deviceGetDeviceCount(
int *count);
16 deviceGetDevice(
int *deviceId);
19 deviceSetDevice(
int deviceId);
22 deviceMalloc(
void **devPtr,
size_type size);
25 deviceMemset(
void *devPtr,
size_type count);
33 template <
typename ValueType>
35 deviceSetValue(ValueType *devPtr, ValueType value,
size_type size);
38 deviceFree(
void *devPtr);
41 hostPinnedMalloc(
void **hostPtr,
size_type size);
44 hostPinnedFree(
void *hostPtr);
51 deviceMemcpyD2H(
void *dst,
const void *src,
size_type count);
58 deviceMemcpyD2D(
void *dst,
const void *src,
size_type count);
65 deviceMemcpyH2D(
void *dst,
const void *src,
size_type count);
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8