1
edit
Changes
→Compilation Notes
** Fermi cards - nvcc -code=sm_20 _arch=compute_20
** nvcc opencl.cpp -lOpenCL
== Visual Studio==
Compiling OpenMP programs in visual studio 2012
====enabling openmp====
# Right-click on "Project Solution" under "Solution Explorer" and select "Properties"
# On the properties pane, select "Configuration Properties" -> "C/C++" -> "Language"
# On the details page, make sure "Open MP Support" is set to "Yes (/openmp)"
====setting environemnt variables====
# Right-click on "Project Solution" under "Solution Explorer" and select "Properties"
# On the properties pane, select "Configuration Properties" -> "Debugging"
# On the details page, make sure "Environment" has "OMP_NUM_THREADS=4;" in it
= Workshop Notes =