AdaptiveCpp / AdaptiveCpp/AdaptiveCpp
using namespace cl::sycl leads to name collisions
未关闭
bug
help wanted
- 主要语言
- C++
- 星标
- 1.9k
- 派生
- 228
- 平均合并
- 4 天 1 小时
- 30 天内合并 PR
- 25
描述
When `using namespace cl::sycl`, terrible name collisions will appear because some SYCL types/functions have the same name as some CUDA/HIP types and functions living in the global namespace. This affects e.g. the vector types such as `int4`.
Not sure how to fix that in a reliable way at the moment. Please let me know if you have ideas :)
贡献指南
评估
这个 Issue 还没有评估数据。