Thrust, CUDA Runtime 13.0 throws CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000409 in Visual Studio 2022 Version 17.14.21 #6724
Unanswered
venkatkasirajan
asked this question in
Thrust
Replies: 2 comments
-
|
Hello @venkatkasirajan! I'm not able to reproduce this with Visual Studio 17.14 (latest patch version) and CTK 13.0: The program I've built was simply: #include <thrust/host_vector.h>
#include <thrust/device_vector.h>
int main() {}Could you please provide a standalone reproducer (command line options, source code etc.)? Also, do you see this error without thrust includes? |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You can close the ticket. I couldnt find time to create an equivalent code
that I can share with you due to varying priorities here.
I rather replaced thrust with my own version now and I am good.
However, I'm of the opinion that the problem is still there & if I am able
to spend some time on this, I will try to open this ticket again.
tan(q) ⋅ lim Regards(r)
r → ∞
Venkat Kasirajan
*Author: Fundamentals of Quantum Computing: Theory and Practice
<https://www.springer.com/us/book/9783030636883>*
“From the ashes, a fire shall be woken, A light from the shadows shall
spring.
Renewed shall be the blade that was broken; the crownless again shall be
king.”
― J.R.R. Tolkien, The Fellowship of the Ring
…On Wed, Dec 31, 2025 at 11:40 AM Georgii Evtushenko < ***@***.***> wrote:
Hello @venkatkasirajan <https://github.com/venkatkasirajan>!
I'm not able to reproduce this with Visual Studio 17.14 (latest patch
version) and CTK 13.0:
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\bin\nvcc.exe" -gencode=arch=compute_75,code=\"sm_75,compute_75\" --use-local-env -ccbin "C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.44.35207\bin\HostX64\x64" -x cu -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v13.0\include" --keep-dir x64\Release -maxrregcount=0 --machine 64 --compile -cudart static -std=c++17 -Xcompiler "/std:c++17" -DWIN32 -DWIN64 -DNDEBUG -D_CONSOLE -D_MBCS -Xcompiler "/EHsc /W3 /nologo /O2 /FS /MD " -Xcompiler "/Fdx64\Release\vc143.pdb" -o C:\Users\gevtushenko\source\repos\CudaRuntime130\CudaRuntime130\x64\Release\kernel.cu.obj "C:\Users\gevtushenko\source\repos\CudaRuntime130\CudaRuntime130\kernel.cu"
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build completed at 10:32 AM and took 09.151 seconds ==========
The program I've built was simply:
#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
int main() {}
Could you please provide a standalone reproducer (command line options,
source code etc.)?
—
Reply to this email directly, view it on GitHub
<#6724 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BI3Q4LHOZNPPMAIBDIRQGVL4EQKCHAVCNFSM6AAAAACMY6XT4WVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTKMZYGI4TQNY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Inclusion of thrust headers
#include <thrust/host_vector.h>
#include <thrust/device_vector.h>
Causes Visual Studio 2022 Version 17.14.21 to throw an exception: CUDACOMPILE : nvcc error : 'cudafe++' died with status 0xC0000409
The same code works well with CUDA Runtime 12.9 on the same compiler.
Build dependencies are set well.
What could be wrong?
Beta Was this translation helpful? Give feedback.
All reactions