Open main menu

CDOT Wiki β

Changes

GPU621/DPS921 Student Resources

617 bytes added, 09:13, 22 January 2014
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 =
1
edit