/public/home/acl4kd6owi/hip_test/first_test.cpp:38:33: error: expected expression
add<<<gridsize, blocksize >>> (d_A, d_B, d_C);
^
/public/home/acl4kd6owi/hip_test/first_test.cpp:38:36: warning: expression result unused [-Wunused-value]
add<<<gridsize, blocksize >>> (d_A, d_B, d_C);
在超算平台运行向量加法的程序,有这样一个bug是怎么回事?哪位大佬知道怎么处理么?
算法代码在下面链接里面
https://developer.hpccube.com/gitbook//dcu_developer/DeveloperGuide/dcu_programming/DCU_programming_chapter3_1.html

暂无数据
您好,示例代码是基于dtk21.04及以后的版本,请运行代码前加载对应的dtk版本,建议使用最新版,module switch compiler/rocm/dtk-21.10.1。链接中相应的版本环境说明后续会补充上,谢谢反馈。