基于maca开发一个简单的测试程序,但是编译时报错:
mxcc -std=c++11 -o 04-vram_leak_sim 04-vram_leak_sim.cu
In file included from <built-in>:1:
In file included from /opt/maca-3.3.0/mxgpu_llvm/lib/clang/19/include/__clang_maca_runtime_wrapper.h:25:
In file included from /opt/maca-3.3.0/mxgpu_llvm/lib/clang/19/include/__clang_maca_atomic_functions.h:18:
In file included from /opt/maca-3.3.0/include/common/__clang_maca_mckl_lib_header.h:25:
In file included from /opt/maca-3.3.0/include/mcr/mc_reference_surface_types.h:12:
In file included from /opt/maca-3.3.0/include/mcr/mc_runtime_api.h:7579:
/opt/maca-3.3.0/include/mcr/mc_runtime_api_template_wrapper.h:3:10: fatal error: 'tuple' file not found
3 | #include <tuple>
| ^~~
1 error generated when compiling for xcore1000.
使用的CPU为metax C500