688ce62b493b9afa9ca84d9278e3fcf459dda5a6
module_api_global relies on a HCC only feature which allows host code to write to device variables. This feature does not exist in CUDA or hip-clang, which causes the sample not working in CUDA or hip-clang. This patch fixes the sample by using standard features of CUDA and hip-clang. The fixed sample works in HCC, CUDA and hip-clang.
설명
제공된 설명이 없습니다
언어
C++
67.5%
C
20.6%
Python
6.6%
CMake
3.4%
Shell
0.6%
기타
1.1%