dim3 gridSize((sx + blockSize.x−1) / blockSize.x, The grid size is based on this block size and volume size. Our block is 4×4×4 threads, giving us a total of 64 threads per block. Supports MultiDevice Co-op Kernel Launch: Yesĭevice PCI Domain ID / Bus ID / location ID: 0 / 1 / 0ĭeviceQuery, CUDA Driver = CUDART, CUDA Driver Version = 9.Tx = Tx + delta_Tx …Tx = max(min(Tx, refX), 1) Support host page-locked memory mapping: Yesĭevice supports Unified Addressing (UVA): Yes ![]() Maximum number of threads per multiprocessor: 2048 Maximum number of threads per block: 1024 Max dimension size of a thread block (x,y,z): (1024, 1024, 64) - max block size Max dimension size of a grid size (x,y,z): (2147483647, 65535, 65535) - max grid sizeĬoncurrent copy and kernel execution: Yes with 2 copy engine(s) Total number of registers available per block: 65536 Total amount of shared memory per block: 49152 bytes Total amount of constant memory: 65536 bytes Maximum Layered 1D Texture Size, (num) layers 1D=(32768), 2048 layers ( 5) Multiprocessors, (128) CUDA Cores/MP: 640 CUDA Cores Total amount of global memory: 4040 MBytes (4235919360 bytes) usr/local/cuda/samples/1_Utilities/deviceQuery/deviceQueryĬUDA Driver Version / Runtime Version 9.2 / 9.0ĬUDA Capability Major/Minor version number: 6.1 ![]() I won't go into the details, it's similar to ![]() Printf("I am the CPU: Hello World ! \n") Hello>( ) // Launch a 2 dim grid of threads ThreadColId = blockIdx.y * blockDim.y + threadIdx.y ThreadRowID = blockIdx.x * blockDim.x + threadIdx.x ThreadID = blockDim.x * blockIdx.x + threadIdx ĭim3 blockShape = dim3( MaxXBlkDim, MaxYBlkDim ) // = dim3( MaxXBlkDim, MaxYBlkDim, 1 ) ĭim3 gridShape = dim3( MaxXGridDim, MaxYGridDim ) // = dim3( MaxXGridDim, MaxYGridDim, 1 )
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |