- 博客(2)
- 收藏
- 关注
原创 CUDA并行编程问题(2)
CUDA并行编程问题(2)问题:为什么没有cudaDeviceReset();不出结果cudaDeviceReset();函数:The function cudaDeviceReset() will explicitly destroy and clean up all resources associated with the current device in the current process.#include "cuda_runtime.h"#include "device_launc
2020-10-29 16:52:16 136
原创 CUDA中遇到的问题
关于CUDA学习中遇到的问题(一)最近在学习CUDA并行编程中核函数#include "cuda_runtime.h"#include "device_launch_parameters.h"#include <stdio.h>__global__ void HellowfromGPU( void ){ printf("hellow world from :%d\n", threadIdx.x); if (threadIdx.x == 5){ printf("hellow w
2020-10-24 18:07:34 483 4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人