Skip to content

Include my name in main.cpp and add screenshot#18

Open
takfuruya wants to merge 1 commit intoCIS565-Fall-2013:masterfrom
takfuruya:master
Open

Include my name in main.cpp and add screenshot#18
takfuruya wants to merge 1 commit intoCIS565-Fall-2013:masterfrom
takfuruya:master

Conversation

@takfuruya
Copy link

Image was generated on my machine (CUDA 5.5):
screenshot

To run on Moore 100b (which uses CUDA 4.0):

  1. git clone
  2. Open "Project-0\PROJ0_WIN\project\CUDATEST.sln" with VS2010 (gives import error)
  3. Right click "CUDATEST (unavailable)" > "Edit CUDATEST.vcxproj" and make changes below:
    • (line 45) "$(VCTargetsPath)\BuildCustomizations\CUDA 5.5.props" to "..\Build\CUDA 4.0.props"
    • (line 110) "$(VCTargetsPath)\BuildCustomizations\CUDA 5.5.targets" to "..\Build\CUDA 4.0.targets"
    • (line 67) "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include;C:\ProgramData\NVIDIA Corporation\CUDA Samples\v5.5\common\inc" to "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include;C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\CUDALibraries\common\inc"
    • (line 80) "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v5.5\include;C:/ProgramData/NVIDIA Corporation/CUDA Samples/v5.5/common/inc" to "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include;C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\CUDALibraries\common\inc"
  4. Save & close "CUDATEST.vcxproj" and right click "CUDATEST (unavailable)" > "Reload Project" (should load project normally)
  5. Start debugging (if this shows an error related to "Nvda.Build.CudaTasks.v4.0.dll" then log out of Windows, log in, and open vs2010 again)
  6. Copy freeglut.dll, glew32.dll, glut32.dll to Project-0\PROJ0_WIN\Debug
  7. Start debugging again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant