Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling for GPU #29

Closed
simleo opened this issue Mar 2, 2021 · 1 comment · Fixed by #30
Closed

Error compiling for GPU #29

simleo opened this issue Mar 2, 2021 · 1 comment · Fixed by #30

Comments

@simleo
Copy link
Contributor

simleo commented Mar 2, 2021

I got this error trying to compile ecvl 0.3.2 for GPU:

CMake Error in CMakeLists.txt:
  Target "ECVL_CORE" requires the language dialect "CUDA17" , but CMake does
  not know the compile flags to use to enable it.

OS: Ubuntu 18.04
cmake version: 3.18.0
compiler: g++ 7.5.0
CUDA version: 10.1

Note: I had to add the following flags to the cmake command line to work around the problem:

-DCMAKE_CUDA_STANDARD=14 -DCMAKE_CUDA_STANDARD_REQUIRED=TRUE
MicheleCancilla added a commit that referenced this issue Mar 2, 2021
@diegobenedicto
Copy link

I had the same error with ECVL 0.3.2. It is fixed in ECVL 0.3.3. Thanks @MicheleCancilla @simleo

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 a pull request may close this issue.

2 participants