Printf("Maximum number of threads per multiprocessor : %d\n", Printf("Maximum number of threads per block: %d\n", iProp.maxThreadsPerBlock) Printf("Warp size: %d\n", iProp.warpSize) Printf("Total number of registers available per block: %d\n", Printf("Total amount of shared memory per block: %4.2f KB\n", Printf("Total amount of constant memory: %4.2f KB\n", Printf("Number of multiprocessors: %d\n", iProp.multiProcessorCount) Printf("Device %d: %s\n", iDev, iProp.name) =4692= Warning: This can happen if device ran out of memory or if a device kernel was stopped due to an assertion. =4692= Warning: Found 23 invalid records in the result. =4692= NVPROF is profiling process 4692, command: CudaTest
=13116= Warning: This can happen if device ran out of memory or if a device kernel was stopped due to an assertion.
=13116= Warning: Found 46 invalid records in the result. =13116= NVPROF is profiling process 13116, command: CudaTest =14844= Warning: This can happen if device ran out of memory or if a device kernel was stopped due to an assertion. =14844= Warning: Found 41 invalid records in the result. =14844= NVPROF is profiling process 14844, command: CudaTest
#Nvprof cudalaunch code
The code is only this #include "cuda_runtime.h"ĭ:\Programing\CudaTest\圆4\Debug>nvprof CudaTest