函数名:cuModuleGetFunction、cuOccupancyMaxActiveBlocksPerMultiprocessor、cuGetErrorString、cuLaunchKernel、cuCtxGetCurrent、cuModuleUnload、cuDevicePrimaryCtxGetState 参数类型:CUfunction、CUmodule、const char*、int、size_t、unsigned int、CUstream、void** 参数名:hfunc、hmod、name、numBlocks、func、blockSize、dynamicSMemSize、f、gridDimX、gridDimY、gridDimZ、blockDimX、blockDimY、blockDimZ、sharedMemBytes、hStream、kernelParams、extra、pctx、dev、flags、active

编写一段python代码提取下列函数定义中的函数名参数类型参数名CUresult cuModuleGetFunction CUfunction hfunc CUmodule hmod const char name ;CUresult cuOccupancyMaxActiveBlocksPerMultiprocessor int numBlocks CUfunction func int b

原文地址: http://www.cveoy.top/t/topic/fh5M 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录