Replies: 20 comments 4 replies
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Ping... hoping that someone can shed any light on this. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still waiting for someone at GitHub/Microsoft to say anything... |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
And again, still waiting for someone at GitHub/Microsoft to say anything... |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still waiting for a comment. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
👉 Steps to fix your Windows builds:
✅ Summary: |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still waiting on this. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still waiting on this... at the end of 2025. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Still waiting on this... in early 2026. |
Beta Was this translation helpful? Give feedback.
-
|
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
|
Hi @eyalroz — First, I am sorry you have been waiting on this since 2024. The previous answer was incorrect. The Truth About nv_decode.hYou are right. The Why It's Missing on Windows
After extensive research, here is what I found:
The function The Real SolutionSince NVIDIA does not provide Option 1 (Recommended): Stop using Use Option 2: Extract the function yourself If you really need
This is a hack, but it works. For Your GitHub Actions WorkflowIf you choose Option 2, add this to your workflow to copy the header: - name: Copy nv_decode.h
run: |
curl -o nv_decode.h https://raw.githubusercontent.com/path-to-header/...
move nv_decode.h "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.x\include\"But honestly, Option 1 is the correct long-term fix. Relying on an internal NVIDIA header that doesn't exist on Windows is going to break again. I hope this finally gives you the answer you have been looking for. |
Beta Was this translation helpful? Give feedback.
-
|
The header is genuinely absent from the Windows CUDA Toolkit distribution. It's not in any of the standard Windows CUDA component packages (cudart, nvcc, cuda-toolkit, etc.). This is a real asymmetry between Linux and Windows that NVIDIA has never fixed. The cleanest fix that avoids any redistribution concern: create a thin compatibility shim in your repo. Since the function signature is stable, forward declare it conditionally: #if defined(__has_include) && __has_include(<nv_decode.h>)
#include <nv_decode.h>
#else
// Absent from Windows CUDA distribution; forward declare the symbol.
extern "C" char* __cu_demangle(
const char* id,
char* output_buffer,
size_t* length,
int* status
);
#endifThis doesn't require redistributing any NVIDIA files. Whether If the symbol isn't exported on Windows, the remaining options are less clean: vendor the Linux header (NVIDIA has historically been permissive about header redistribution in their EULA, but worth checking the current version), or platform-guard the demangling code and fall back to something else on Windows for your specific use case. |
Beta Was this translation helpful? Give feedback.
-
|
Since you're on C++11, here's the CMake-based version of what Gecko51 described. Add to your include(CheckIncludeFileCXX)
check_include_file_cxx("nv_decode.h" HAVE_NV_DECODE_H)
if(NOT HAVE_NV_DECODE_H)
target_compile_definitions(your_target PRIVATE CUDA_DEMANGLE_NEEDS_SHIM)
endif()Then in a header (e.g. #ifdef CUDA_DEMANGLE_NEEDS_SHIM
extern "C" char* __cu_demangle(
const char* id,
char* output_buffer,
size_t* length,
int* status
);
#else
#include <nv_decode.h>
#endifBefore shipping this, run the If the symbol shows up, the shim is all you need and you avoid any redistribution questions entirely. If it doesn't export on Windows, you'd need to platform-guard the demangling code and skip it on Windows for now. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
In my repository's
.github, I have an action script which installs CUDA on the runner building my code. This all fine and good, but recently, I've noticed that a header file that's part of the CUDA distribution on Linux does not seem to be part of it on Windows, or at least - not in the packages I can notice.The header is
nv_decode.h. It is used for name demangling. As I've started rleying on its presence - all of my Windows builds are failing.It's possible that it is actually part of the CUDA Windows distribution - but I can't figure out in which one of the packages... any insight would be greatly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions