-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Missing include on windows in targets\x64\nvtx3\nvtxDetail\nvtxInit.h
#23
Comments
@conda-forge/cuda-nvtx, could we carry a patch for NVIDIA/NVTX#102 that simply does: --- a/c/include/nvtx3/nvtxDetail/nvtxImpl.h
+++ b/c/include/nvtx3/nvtxDetail/nvtxImpl.h
#if defined(_WIN32)
#include <Windows.h>
+#include <stdlib.h>
#else This should be completely benign. |
@conda-forge/cuda-nvtx @jakirkham |
Upstream has this fix, as noted above, in issue ( NVIDIA/NVTX#102 ). Once that makes its way through the release process it will make its way here For now, we opted to add this patch to the |
Do you want to leave this issue open in case anyone else hits it? |
Yeah think that is ok We probably also want to track when that fix makes it in here and note the version So keeping it open can serve multiple purposes |
In conda-forge/kaldi-feedstock#48, I'm adding CUDA 12.0 support, and after finding where
nvToolsExt.h
lives and adding it as a host dependence, I get:I can probably get around this by including
<stdlib.h>
wherever relevant headers get included, but IWYU would dictate that this should actually be done correctly innvtxInit.h
itself. For reference, here are the MSVC docs for_wgetenv
.The text was updated successfully, but these errors were encountered: