I’m having a brain fart and cannot remember how to do this.
I need to allocate memory in CUDA for a few integers and copy over some numbers over. What did write wrong?
unsigned int d_col;
cudaMalloc((void*) &d_col, sizeof(unsigned int));
cudaMemcpy(d_col, col, sizeof(unsigned int), cudaMemcpyHostToDevice);