Opened 13 years ago
Closed 13 years ago
#3919 closed Patches (fixed)
Support for NVIDIA CUDA C++ Compiler
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | Boost 1.43.0 | Component: | config |
Version: | Boost 1.42.0 | Severity: | Problem |
Keywords: | GPU NVIDIA nvcc CUDA | Cc: |
Description
Some boost component can't compile when compiled with the nvidia c++ compiler for GPU systems. This patch add nvcc as a proper compiler in config/ so the proper BOOST_NO_XXX macro are set/unset. The patch also provide a BOOST_GPU_ENABLED macro that resolves as host device and allow any boost function to be compiled inside a CUDA kernel.
Note that this patch is not the only one required for proper GPU support bu tit fixes a lot of annoying errors in low level components like MPL, Fusion, type_traits and similar.
Attachments (3)
Change History (4)
by , 13 years ago
by , 13 years ago
Attachment: | select_compiler_config.hpp added |
---|
select_compiler.hpp including the nvcc.hpp file detection
by , 13 years ago
Attachment: | suffix.hpp added |
---|
suffix.hpp patched to define BOOST_GPU_ENABLED if not set up before
comment:1 by , 13 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
NVCC specific compiler setup