Fixed examples to compile with NVIDIA platform