Comments (5)
I think it's supposed to be --std=c++14
(Or atleast, try the long form, iirc we may have had an issue with the short form of some options).
That's how we use it here, in a cross platform CMake project that makes use of Jitify.
Refer to these docs, RTC compiler flags are a subset of those for standard nvcc.
https://docs.nvidia.com/cuda/nvrtc/index.html#group__options
from jitify.
Thanks for the response, I tried it with --std=c++14
and without that parameter, both result in the same error. I will have a look at those docs.
from jitify.
I've just tested this small Jitify test rig I had kicking around, by only passing the options -std=c++14
and -arch=compute_30
. It works under both Visual Studio 2015 and 2019, with CUDA 10.1 and the latest jitify header from master. I'm unable to reproduce your problem, it runs for me and gives the expected output (1080GTX if that matters).
Looking at the code you've posted, you use a slightly different function (JitCache::program()
), but checking it's implementation it calls the same code.
So it's possibly worth looking elsewhere at the blame, I've not seen this particular error before and most results on google suggest particular device/driver/nvrtc versions being to blame. Hopefully a jitify dev knows more.
from jitify.
The issue is that compute_30
is no longer supported as of CUDA 11.0 [1]. Unfortunately the NVRTC docs have not yet been updated to reflect this (this will be fixed in the next release).
The -arch
flag is added automatically by Jitify based on the architecture of the GPU you are using. You could try adding -arch=compute_35
, but it likely still won't run.
[1] https://docs.nvidia.com/cuda/cuda-toolkit-release-notes/index.html#deprecated-features
from jitify.
@Robadob Thanks so much for investigating and sending over the known code sample.
@benbarsdell Thanks, I reverted to CUDA 10.2 and that resolved my issue.
Both of your input much appreciated I will close this now.
from jitify.
Related Issues (20)
- Is it possible to create program from cuBin or PTX? HOT 3
- Cannot use `<limits>` and `<cuda/std/limits>` in the same source file HOT 4
- [BUG] GetNumSupportedArchs GetSupportedArchs compile error HOT 2
- jitify2_preprocess require -lpthread in linkage stage for safety HOT 1
- [Help]How to include <cuda_fp16.h> in jitify? HOT 3
- (jitify2) Serialisation post-NVRTC HOT 3
- Jitify compile doesn't parse numbers with separators and suffix correctly HOT 2
- CUDA 11 support? HOT 4
- #pragma HACK war fails on #pragma unroll x HOT 2
- Jitify should not print warnings to stdout by default HOT 2
- C++ header "functional" not supported? HOT 8
- Author email address(es) unavailable HOT 1
- GTC Talk link is dead HOT 2
- #include <limits> fails on Windows
- detail::path_base() doesn't handle Linux path separators on Windows HOT 1
- load_program() performance (with large include hierarchies) HOT 6
- Does jitify supports CUDA 11.x??? HOT 4
- Memory leak within nvrtcCompileProgram() HOT 2
- Possibility of cross-pollination/collaboration with cuda-api-wrappers?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jitify.