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
- Host: GitHub
- URL: https://github.com/raiszo/cs334
- Owner: Raiszo
- Created: 2018-05-09T06:21:38.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-07-02T07:00:18.000Z (almost 7 years ago)
- Last Synced: 2025-01-25T22:42:47.864Z (4 months ago)
- Topics: cmake, cs334, cuda, msbuild
- Language: C++
- Size: 10.2 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)