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
The program below crashes during hipLaunchKernelGGL instead of giving a failure at compile time, that the constructor for a is defined but not implemented:
#include <hip/hip_runtime.h>
class a
{
public:
__device__ a();
int x = 0;
};
__global__ void run_printf()
{
a aa;
}
int main() {
hipLaunchKernelGGL(HIP_KERNEL_NAME(run_printf), dim3(1), dim3(1), 0, 0);
hipDeviceSynchronize();
}
Compiled via: hipcc -o test test.hip.cpp with ROCM 2.6/2.7 and a Radeon7 GPU.
The problem appears only when compiled with HIP_COMPILER=hcc (it works with nvcc and hip-clang), so in ROCm/HIP#1314 we decided to report this as hcc issue.
The text was updated successfully, but these errors were encountered:
The program below crashes during hipLaunchKernelGGL instead of giving a failure at compile time, that the constructor for a is defined but not implemented:
Compiled via:
hipcc -o test test.hip.cpp
with ROCM 2.6/2.7 and a Radeon7 GPU.The problem appears only when compiled with HIP_COMPILER=hcc (it works with nvcc and hip-clang), so in ROCm/HIP#1314 we decided to report this as hcc issue.
The text was updated successfully, but these errors were encountered: