AdaptiveCpp / AdaptiveCpp/AdaptiveCpp

using namespace cl::sycl leads to name collisions

未关闭
#5 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。