memcpy it split the copy across threads More...
memcpy it split the copy across threads
it assume that the memory to copy is smaller than blockDim.x * 4 byte
Definition at line 17 of file encap_shmem.hpp.
#include <encap_shmem.hpp>
Static Public Member Functions | |
static __device__ void | copy (int *src, int *dst) |
Static Public Attributes | |
static const int | size = (sz / 4)*4 + (sz % 4 != 0)*4 |
static const int | nthr = (sz / 4) + (sz % 4 != 0) |
|
inlinestatic |
Definition at line 22 of file encap_shmem.hpp.
|
static |
Definition at line 20 of file encap_shmem.hpp.
|
static |
Definition at line 19 of file encap_shmem.hpp.