A developer's diary of GPULib, a software library enabling GPU-accelerated calculations for IDL.
Wednesday, August 13, 2008
IDL tip: compile gpuinit before running your own procedures
Another "gotcha" came up today from a user; when using GPULib in IDL, you may need to compile gpuinit before running your code. For example, to run a procedure you've written called foo, you should do something like the following:
IDL> .compile gpuinit IDL> .compile foo IDL> foo
As always, if you have questions or suggestion regarding GPULib, feel free to leave comments or email firstname.lastname@example.org.