Swarm-NG
1.1
|
CUDA host memory allocator similar to HostAllocator using device mapped memory A Mapped memory is accessible on host and device. However, the pointers are different and this complicated everything. According to CUDA manual, version 4.0 of CUDA SDK uses unified pointers so there in to need to map the pointer. In that case, The pointer obtained using this allocator can be passed to a kernel. More...
#include <allocators.hpp>
Static Public Member Functions | |
static T * | getDevicePointer (T *hp) |
This is a non-conforming method for getting the Device Pointer This method is only needed when dealing with device with compute capabality less than 2.0. | |
CUDA host memory allocator similar to HostAllocator using device mapped memory A Mapped memory is accessible on host and device. However, the pointers are different and this complicated everything. According to CUDA manual, version 4.0 of CUDA SDK uses unified pointers so there in to need to map the pointer. In that case, The pointer obtained using this allocator can be passed to a kernel.
Definition at line 129 of file allocators.hpp.