AccelerEyes + Mathworks for a better parallel computing toolbox

It seems that at last, the two main communities that design commercial GPU accelerated toolboxes for Matlab, Mathworks & AccelerEyes, have agreed to share knowledge and expertise. Quoting from the AccelerEyes blog We are pleased to announce today that MathWorks and AccelerEyes have started working together to provide the best overall solution for GPU computing in MATLAB® through the Parallel Computing Toolbox™ and MATLAB Distributed Computing Server™ from MathWorks. … Continue reading AccelerEyes + Mathworks for a better parallel computing toolbox

How to use printf in device/global code in CUDA

If your card has 2.0 or higher compute capability, you can use printf inside your device/global code to print variables for debugging purposes. You may get an error though. If that happens, add -arch=sm_20 to the end of your compile code. For example nvcc a_cool_code.cu -arch=sm_20 This way your code will take into account the compute capability you have in your card. For compatibility reasons, … Continue reading How to use printf in device/global code in CUDA