Deep Learning, Machine Learning, Gpu, Cuda, AI.
following snippet of code: int device; cudaDeviceProp props; cudaGetDevice(&device); cudaGetDeviceProperties(&props, device); printf("Maximum threads per block: %d\n", props.maxThreadsPerBlock); On current Colab GPUs, a thread block may contain up to 1024 threads. Thus, we need more blocks to