An open API service indexing awesome lists of open source software.

https://github.com/raiszo/cs334

Journey thorugh Intro to Parallel Programming
https://github.com/raiszo/cs334

cmake cs334 cuda msbuild

Last synced: 3 months ago
JSON representation

Journey thorugh Intro to Parallel Programming

Awesome Lists containing this project

README

        

# Udacity's Intro to parallel programming course

## Installation Steps
+ Install opencv, no need to bother with PATH variables, just hard code it to the cmakelists file
+ Just remember to set your [path env variable correctly](https://docs.opencv.org/2.4/doc/tutorials/introduction/windows_install/windows_install.html#windowssetpathandenviromentvariable), otherwise you'll have to sett OPENCV_DIR mannually D:
+ Install VS BuildTools, tested with 15.4
+ Install cudaToolkit, 9.0 coz Tensorflow likes it.
+ Install cmake and add to PATH

## To be able to build cuda in win10:
Use cmake and then msbuild, do not forget to set up PATH properly, point to VS15 win64, compare with your OpenCV env variable, coz it might crash if unset
```bash
cd "Problem Set {n}"
mkdir build && cd build
cmake -G "Visual Studio 15 2017 win64" ..
msbuild .\HW{n}.sln
```

Remember `msbuild /t:Build /p:Configuration=Release .\HW{n}.sln` for Release :D
else you can do it using cmake :P `cmake --build .` and for release `cmake --build . --config Release`

### Enjoy

---

## Quick Notes
+ **Problem Set 2** For using dynamic size shared variables when doing convolutions, refer to the example provided [here](http://www.nvidia.com/content/nvision2008/tech_presentations/Game_Developer_Track/NVISION08-Image_Processing_and_Video_with_CUDA.pdf)