target_space_usage_ = space_usage;// + 2N 32-bit entriesCUDA_SAFE_CALL(cudaMalloc( (void**)&d_scratch_offsets_,sizeof(unsigned) * max_table_entries ));CUDA_SAFE_CALL(cudaMalloc( (void**)&d_scratch_is_unique_,sizeof(unsigned) * max_table_entries )); success &= (d_scratch_offse...
Call cudaMalloc () function in the memory array has been defined for the allocation of storage space, call cudaMemcpy () to copy data from memory to the graphics card in the global memory; 翻译结果2复制译文编辑译文朗读译文返回顶部 正在翻译,请等待... ...
kernel中一般不调用第三方库,因为kernel中只能执行device函数