Difference between revisions of "GPU621/DPS921 Student Resources"

From CDOT Wiki
Jump to: navigation, search
(CUDA)
Line 20: Line 20:
 
* [https://inside.senecacollege.ca/its/software/index.html Visual Studio 2012 Ultimate] | Select Software Downloads | Go To Visual Studio 2012 Ultimate 1.49GB | Download iso | Burn, if error burn again | Finally, install
 
* [https://inside.senecacollege.ca/its/software/index.html Visual Studio 2012 Ultimate] | Select Software Downloads | Go To Visual Studio 2012 Ultimate 1.49GB | Download iso | Burn, if error burn again | Finally, install
 
* [https://developer.nvidia.com/cuda-downloads CUDA Downloads]
 
* [https://developer.nvidia.com/cuda-downloads CUDA Downloads]
 +
* Installation add the following environment variables
 +
** CUDA_PATH - points to the default version
 +
** CUDA_PATH_INC
 +
** CUDA_PATH_LIB
 
* Visual Studio IDE Settings for .cu files
 
* Visual Studio IDE Settings for .cu files
 
** Project -> Build Customizations -> Select CUDA 5.5
 
** Project -> Build Customizations -> Select CUDA 5.5
Line 29: Line 33:
 
* [http://www.open-mpi.org/ OpenMPI Home Page]
 
* [http://www.open-mpi.org/ OpenMPI Home Page]
 
*
 
*
 +
 +
= Compilation Notes =
 +
== Cilk Plus ==
 +
*
 +
== TBB ==
 +
*
 +
== OpenCL ==
 +
* AMD
 +
** cl opencl.cpp "%AMDAPPSDKROOT%"lib/x86/OpenCL.lib
 +
** Environmental Variables
 +
*** INCLUDE add "C:\Program Files\AMD_APP_SDK\2.9\include";
 +
*** LIB add "C:\Program Files\AMD APP SDK\2.9\lib\x86";
 +
== CUDA ==
 +
* compiling with nvcc
 +
** Fermi cards - nvcc -code=sm_20 _arch=compute_20
 +
** nvcc opencl.cpp -lOpenCL
  
 
= Workshop Notes =
 
= Workshop Notes =

Revision as of 11:49, 13 January 2014


GPU621/DPS921 | Participants | Groups and Projects | Resources | Glossary

The purpose of this page is to share useful information that can help groups with their projects.

Installation Notes

Cilk Plus

TBB

OpenMP

OpenCL

CUDA

  • Visual Studio 2012 Ultimate | Select Software Downloads | Go To Visual Studio 2012 Ultimate 1.49GB | Download iso | Burn, if error burn again | Finally, install
  • CUDA Downloads
  • Installation add the following environment variables
    • CUDA_PATH - points to the default version
    • CUDA_PATH_INC
    • CUDA_PATH_LIB
  • Visual Studio IDE Settings for .cu files
    • Project -> Build Customizations -> Select CUDA 5.5
    • Source file -> Properites -> Item Type -> CUDA C/C++
    • Project -> Properties -> Configuration -> VC++ Directories -> $(CUDA_PATH_INC); $(CUDA_PATH_LIB);
    • Project -> Properties -> Configuration -> Linker -> Input -> cudart.lib

MPI

Compilation Notes

Cilk Plus

TBB

OpenCL

  • AMD
    • cl opencl.cpp "%AMDAPPSDKROOT%"lib/x86/OpenCL.lib
    • Environmental Variables
      • INCLUDE add "C:\Program Files\AMD_APP_SDK\2.9\include";
      • LIB add "C:\Program Files\AMD APP SDK\2.9\lib\x86";

CUDA

  • compiling with nvcc
    • Fermi cards - nvcc -code=sm_20 _arch=compute_20
    • nvcc opencl.cpp -lOpenCL

Workshop Notes

BLAS Documentation

Assignment Notes

Shared Memory

Message Passing