All posts filed under: Programming

Parallel Computing Toolbox code fails with Java Virtual Machine updates 1.6.0_39 and 1.7.0_13

comments 2
Programming

Summary Parallel Computing Toolbox code fails with Java Virtual Machine updates 1.6.0_39 and 1.7.0_13 Description Running any Parallel Computing Toolbox code using a Java Virtual Machine (JVM) version of 1.6.0_39 or 1.7.0_13 might cause a NullPointerException to be thrown by the JVM. For example: >> matlabpool open Error using matlabpool (line 134) Java exception occurred: java.lang.NullPointerException at java.util.logging.Logger.demandLogger(Logger.java:286) at java.util.logging.Logger.getLogger(Logger.java:321) This is a bug in the JVM update, and affects all versions of Parallel Computing […]

Syllabus for the CUDA Certification Exam

Leave a comment
Programming

NVIDIA CUDA Professional Developer Program Study Guide As part of the process of achieving the standards expected from an NVIDIA CUDA Professional Developer, all candidates are required to take a series of self-study lectures and exercises. Please read this entire document before starting your study course. The foundation of this training is provided by the text book,  Programming Massively Parallel Processors: A Hands-on Approach, authors, David B. Kirk, Wen-mei W. Hwu. You can also make use […]

Operators in C and C++

Leave a comment
Programming

Arithmetic operators Operator name Syntax Overloadable Includedin C Prototype examples (T is any type) As member of T Outside class definitions Basic assignment a = b Yes Yes ​T& T::operator =(const T&b);​ N/A Addition a + b Yes Yes ​T T::operator +(const T& b)const;​ ​T operator +(const T& a, constT& b);​ Subtraction a - b Yes Yes ​T T::operator –(const T& b)const;​ ​T operator –(const T& a, constT& b);​ Unary plus (integer promotion) +a Yes Yes ​T T::operator +() const;​ ​T operator +(const T& a);​ Unary minus (additive inverse) -a Yes Yes ​T T::operator –() const;​ ​T operator –(const T& a);​ Multiplication […]