
Written by Juncheng Liu; Translated by Xiaozhen Liu, Chenyang Xu
In this article, the engineer of OneFlow shares the way of setting grid_size and block_size when writing CUDA kernels.
In general, we might see the following code that launches a CUDA kernel:







