[Scilab-users] GPU in scilab

2022-01-05 Thread Masahiro Fujimoto
I would like to use scilab6.1.1 to do fast numerical computation with GPU
and is looking for the tool.

Two candidate sciGPPU and sciGPGPU are not supported nowadays.
If anyone knows the other tool, please let me know.
Best regards.
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] GPU in Scilab

2014-10-23 Thread tanthiamhuat
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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] GPU in Scilab

2014-10-23 Thread Cedric Delamarre
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@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
---

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users