Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

cudamemcpy

cudaMemcpy(dst_array, src_array, size*sizeof(int),  cudaMemcpyHostToDevice)

//cudaMemcpyHostToHost, cudaMemcpyHostToDevice, cudaMemcpyDeviceToHost, or cudaMemcpyDeviceToDevice
 
PREVIOUS NEXT
Tagged: #cudamemcpy
ADD COMMENT
Topic
Name
6+5 =