Friday, November 21, 2008

Bug in gpuMatrix_Multiply

A user recently reported a bug in the current version of GPULib:

The procedure gpuMatrix_Multiply calls the function gpuMatrixMultiply().
That should be gpuMatrix_Multiply(), i.e., with the underscore.

There was a typo in this function in the GPULib 1.0.2 release. As a workaround, you can edit the file

IDL/lib/gpumatrix_multiply.pro

to include the underscore in the call to gpuMatrix_Multiply(). This bug (and others) have been fixed and will be out for the 1.0.4 version of GPULib, coming soon.

Thanks for the bug report -- if anyone finds any other issues, please let us know and we'll address them as soon as possible.

Thursday, November 20, 2008

Using Remote Desktop with GPULib

We had a question recently from a user attempting to use Remote Desktop to run GPULib on a Windows machine. Unfortunately, this is a known limitation of CUDA; due to the way Remote Desktop functions, CUDA (and therefore, GPULib) won't function properly.

However, there is a bit of a workaround -- you can use VNC instead of Remote Desktop to access the machine remotely. VNC essentially screen-scrapes instead of trying to be clever about display APIs, so while display performance will not be as good as using Remote Desktop it should run GPULib applications just fine. Some developers on the NVIDIA discussion suggest a hybrid approach -- the use Remote Desktop to access the remote machine when developing code, and VNC when running it. Using VNC also has the advantage of being platform-independent; both client and server could be Linux, OS X, or Windows.

There are several implementations of VNC, including:

Wednesday, November 19, 2008

GPULib 1.0.2 update available

A user discovered a bug when using GPULib 1.0.0 on Windows (the issue described in the earlier post) and we've corrected that in GPULib 1.0.2, released this afternoon. To obtain this update, visit the download link at

http://gpulib.txcorp.com

Thanks for the bug reports and questions!

Error: "Attempt to call undefined procedure/function: 'GPUADD'."

Some users have seen the following error when using GPULib's IDL bindings:

IDL> gpuinit
% Attempt to call undefined procedure/function: 'GPUADD'.
% Error occurred at: GPUINIT 137 C:\Documents and
Settings\Sizemore\Desktop\gpulib-1.0.0\IDL\lib\gpuinit.pro
% $MAIN$
% Execution halted at: $MAIN$

If this happens to you, you may need to copy the file IDL\lib\gpuinit.pro.orig to IDL\lib\gpuinit.pro, overwriting the original gpuinit.pro file.

UPDATE: We've released a new version of GPULib, v1.0.2, that fixes this error. See

http://gpulib.txcorp.com

to get the new version.

Tuesday, November 18, 2008

GPULib 1.0.0 is available!

Tech-X Corporation is pleased to announce that GPULib 1.0.0 has been released. This first major release contains full bindings for IDL and MATLAB, as well as header files for C. Python bindings are also included. GPULib is available for Linux, Mac OS X, and Windows -- the release includes pre-built DLLs for Windows users, as well as build files for all platforms. Full details are at

http://gpulib.txcorp.com/

GPULib is available for non-commercial use under AGPL, as well as commercial licensing from Tech-X.

We'd like to thank all of the beta testers who asked questions, provided suggestions, and pointed out bugs in the code. :-) We'll keep working on improving the software, so please continue to tell us how we can best make the code suit your needs. The GPULib User's List is a good place to contact us, as well as your fellow GPULib users. You can also email us at support@txcorp.com if you run into technical issues.

GPULib users mailing list

We now have mailing list set up for users of GPULib. To sign up, go to

http://ice.txcorp.com/mailman/listinfo/gpulib-users

Questions, feature requests, feedback, etc. are all welcome.

Monday, November 17, 2008

Tech-X at SC08 -- booth 1324

If you're attending SC08 in Austin, TX this week, please stop by and visit the Tech-X booth -- we're number 1324. GPULib developers will be available to answer any questions you might have, as well as to talk about plans for new features in upcoming versions.