New in Wolfram
Mathematica
8: Soporte para CUDA y OpenCL
◄
previous
|
next
►
Desarrollo de Software
Obtenga información de programas cargados
Obtenga información sobre programas cargados CUDA u OpenCL.
In[1]:=
X
Needs["CUDALink`"] fun = CUDAFunctionLoad["__global__ void zero(int * in, int length) { int index = threadIdx.x + blockIdx.x * blockDim.x; if (index < length) in[index] = 0; }", "zero", {{_Integer}, _Integer}, {10}]; CUDAFunctionInformation[fun]
Out[1]=