필터 지우기
필터 지우기

How can I initialize a __device__ variable via the CUDAKernel interface?

조회 수: 2 (최근 30일)
Antonio
Antonio 2013년 5월 22일
I have this global _device___ variable in my original C/Cuda kernel code, that I'm now porting to a kernel compatible to the CUDAKernel interface, how can I initialize it? I used cudaMemcpyToSymbol in C, can I simply use a gpuArray variable declaration in its place?

답변 (0개)

카테고리

Help CenterFile Exchange에서 GPU Computing에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by