Open main menu

CDOT Wiki β

Changes

UnknownX

3 bytes added, 15:01, 11 April 2017
V1 -- One array
=== V1 -- One array ===
[[File:pyonearray.PNG]]
int* d_pixs;
cudaMalloc((void**)&d_pixs, N * N * 3 * sizeof(int));
kernel_tray << <nblocks, ntpb >> >(pix_col, N, d_pixs);
cudaMemcpy(h_pixs, d_pixs, N * N * 3 * sizeof(int), cudaMemcpyDeviceToHost);
 
 
[[File:pyonearray.PNG]]
=== V2 -- Occupancy ===
122
edits