#ifndef PROTON_DRIVER_GPU_CUDA_H_ #define PROTON_DRIVER_GPU_CUDA_H_ #include "Driver/Device.h" #include "cuda.h" namespace proton { namespace cuda { template CUresult init(int flags); template CUresult ctxSynchronize(); template CUresult ctxGetCurrent(CUcontext *pctx); template CUresult deviceGetAttribute(int *pi, CUdevice_attribute attrib, CUdevice dev); template CUresult deviceGet(CUdevice *device, int ordinal); Device getDevice(uint64_t index); } // namespace cuda } // namespace proton #endif // PROTON_DRIVER_GPU_CUDA_H_