-
Notifications
You must be signed in to change notification settings - Fork 757
[NVBug 3129879] MSVC debug iterators give dreaded "[subobject]" nvcc execution space warnings #1273
Comments
Branch that enables the benchmark code in CMake is here: https://github.com/allisonvacanti/thrust/tree/bug/add_bench_to_cmake/gh.1193 |
Just noticed this happening with other algorithms whenever doing an MSVC debug build. Seems related to the MSVC STL debug iterators. |
This is unrelated to thrust:
This is on nvcc 11.0.167 and cl.exe 19.27.29111 (latest MSVC 2019). |
Filed NVBug 3129879 requesting fix and/or workaround. |
NVCC folks say that this is a limitation of the current implementation and cannot be fixed. The toolchain isn't equipped to handle MSVC's debug iterators. Recommended workaround for now is to compile with Removing from current milestone since this is not a priority for us. Eventually we should update our build harness to just turn off |
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Includes a workaround that fixes NVIDIA#1273.
Update:
This is an nvcc bug that will not be fixed. We'll need to disable the treat-warnings-as-errors flags for NVCC + MSVC CUDA Debug targets.
Original issue:
Encountered while trying to build thrust's
bench.cu
with MSVC 2019:Digging into this shows that the issue seems to be happening when
std::vector
iterators are passed tothrust::transform
here andthrust::reduce
here. I haven't yet tracked down what is causing the error.This is similar to other issues, eg. NVIDIA/cccl#743. We need to make sure that we're actually testing all of the
thrust::
algorithms withstd::vector
somewhere.The text was updated successfully, but these errors were encountered: