122
edits
Changes
UnknownX
,→V1 -- One array
=== V1 -- One array ===
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 ===