Created
April 7, 2016 02:37
-
-
Save agibsonccc/579779b58de072d1ec5e1953168e9942 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #ifdef __CUDACC__ | |
| __host__ __device__ | |
| #endif | |
| void copyTo(int length, int *from,int **to); | |
| /** | |
| * Return a copy of a buffer. | |
| * This buffer allocates memory | |
| * that must be freed elsewhere. | |
| */ | |
| #ifdef __CUDACC__ | |
| __host__ __device__ | |
| #endif | |
| void copyTo(int length, int *from,int **to,int *indexes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment