[Scilab-users] GPU in Scilab

Cedric Delamarre cedric.delamarre at scilab-enterprises.com
Thu Oct 23 12:10:50 CEST 2014


Hi,

The problem is that Nvidia have change the environment variable.
I've two solutions for you :

First, try to add new enviromnent variable named CUDA_BIN_PATH with
value %CUDA_PATH%\bin but sciGPGPU have been build with cuda toolkit
v4.0, so this will fix the error about toolkit version but you could
have an other link error.

Second, you should try to install cuda toolkit v4.0.
You can have multiple cuda toolkit installed in your system.

regards,


Le mercredi 22 octobre 2014 à 23:52 -0700, tanthiamhuat a écrit :
> 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.
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
Cédric DELAMARRE
Software Development Engineer
------------------------------------------- 
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
http://www.scilab-enterprises.com
-------------------------------------------




More information about the users mailing list