You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enable AMG GPU for DPC++. To support this feature, We did two parts of development, namely the compilation tool chain and the runtime. We have implemented rocm-plugin refer to cuda-plugin. Many test cases in this [project](https://github.com/zjin-lcf/oneAPI-DirectProgramming) have passed, but there are still some problems which can be roughly divided into three areas:
First, some errors occurred at link time. like all-pairs-disance-sycl case occurred error: `undefined hidden symbol: __spirv_ControlBarrier will appear during the lld link period` due to use `barrier(access::fence_space::local_space)`. Similarly, the `undefined__spirv_SubgroupShuffleINTEL` error occurs when the `cl::sycl::atomic` keyword is used at that time.
Second, some errors occurred at runime. the program will core dump when calling `hipMemcpyDtoHAsync` API due to allocating memory size is too large. But cuda does not have this problem.
Finally, calculation accuracy problem. Currently, the calculation of `float` type kernel functions is inaccurate, and there is no problem with `int` type testing. We haven't figured out where the problem is.
We will keep track of the above issues.
0 commit comments