[Scilab-users] GPU in Scilab

tanthiamhuat tanthiamhuat at yahoo.com
Thu Oct 23 08:52:11 CEST 2014


I had wanted to try some GPU code in Scilab...
from http://wiki.scilab.org/Documentation/ParallelComputingInScilab
stacksize('max');
// Init host data (CPU)
A = rand(1000,1000);
B = rand(1000,1000);
C = rand(1000,1000);

// Set host data on the Device (GPU)
dA = gpuSetData(A);
dC = gpuSetData(C);

d1 = gpuMult(A,B);
d2 = gpuMult(dA,dC);
d3 = gpuMult(d1,d2);
result = gpuGetData(d3); // Get result on host

// Free device memory
dA = gpuFree(dA);
dC = gpuFree(dC);
d1 = gpuFree(d1);
d2 = gpuFree(d2);
d3 = gpuFree(d3);

even after installation of CUDA Toolkit 6.5, as shown in the screen capture
below, it says:
atomsLoad: An error occurred while loading 'sciGPGPU-2.0-0':
	Please install CUDA Toolkit 3.2 or more.

Screen capture:
<http://mailinglists.scilab.org/file/n4031427/GPU_Scilab.jpg> 



--
View this message in context: http://mailinglists.scilab.org/GPU-in-Scilab-tp4031427.html
Sent from the Scilab users - Mailing Lists Archives mailing list archive at Nabble.com.



More information about the users mailing list