Skip to content

Compiling with CUDA #16

Description

@huhlim

I'm using a CUDA 9.2, and the nvcc did not support -arch=sm_20 option. I simply fixed the issue by replacing sm_20 to sm_70 in CMakeLists.txt file.

Activity

  1. huhlim commented on Dec 28, 2018

    @huhlim
    Author

    With -arch=sm_70, I could compile it, but the compiled version failed to run on GTX980Ti.
    By using -arch=sm_50, I succeeded to run it.

  2. croth1 commented on Jan 1, 2019

    @croth1

    Thanks for reporting the problem @huhlim. Unfortunately, I do not have any cuda experience nor a graphics card so I cannot help maintaining the cuda support.

    I will leave your issue open as your fix may help others struggling with cuda.

  3. rmrao commented on Jun 2, 2019

    @rmrao

    Thanks for leaving this up! This fix also worked for me.

  4. pinned this issue on Jun 3, 2019
  5. bognabognabogna commented on Sep 26, 2019

    @bognabognabogna

    Hello, I've done the same but then I got the following error:
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:15: fatal error: 'string.h' file not found

    does anyone know how to fix it?

  6. huhlim commented on Sep 27, 2019

    @huhlim
    Author

    @bognabognabogna I think it is a completely different issue with your MacOS environment.
    Please check this out.
    https://stackoverflow.com/questions/26185978/macos-wchar-h-file-not-found

  7. sseemayer commented on Oct 12, 2019

    @sseemayer
    Contributor

    Hi all, please check out #20 to see if you can get this running on your machine with CUDA now.

  8. rmrao commented on Oct 14, 2022

    @rmrao

    Since this issue is still open - just noting that this does work on latest CUDA versions now. Thanks for the fix!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions