HIP-Examples
HIP-Examples copied to clipboard
Examples for HIP
We tried to run and execute a sample example using hipcc compiler in an AWS instance. The sample fails to run with a Segmentation fault. Any suggestions would be helpful...
Hi folks I've got a ubuntu 20.04.3 machine with rocm-5.1.1 installed. I've got an MI25 card, and I'm attempting to build the example code in this repository. The `test_all.sh` script...
When trying out the Code from the VectorAdd example inside a Cmake project, the execution fails, when using the release flag as build type. This is due to the NDEBUG...
Hello, It looks like std::unique_ptr is used without including the `` header. This code worked fine with AMD HIP, but I think it still technically needs the header included. (I...
GPU-STREAM code is using a deprecated version of hipLaunchKernel error: no matching function for call to 'hipLaunchKernel' hipLaunchKernel(HIP_KERNEL_NAME(triad_kernel), dim3(array_size/TBSIZE), dim3(TBSIZE), 0, 0, d_a, d_b, d_c);
`-j` means to use unlimited amount of workers. That is not a good idea on low core count machines, or big core count machines with not enough memory. It shouldn't...
``` $ /opt/rocm-3.10.0/bin/hipconfig HIP version : 3.10.20465-f9876b8d == hipconfig HIP_PATH : /opt/rocm-3.10.0/hip ROCM_PATH : /opt/rocm-3.10.0 HIP_COMPILER : clang HIP_PLATFORM : hcc HIP_RUNTIME : ROCclr CPP_CONFIG : -D__HIP_PLATFORM_HCC__= -I/opt/rocm-3.10.0/hip/include -I/opt/rocm-3.10.0/llvm/bin/../lib/clang/12.0.0 -I/opt/rocm-3.10.0/hsa/include...
ROCm 3.10.0 AMD Radeon R9 Fury X (FIJI, GFX8) Linux 5.9.9., using upstream amdgpu driver ``` user@debian:~/HIP-Examples/rodinia_3.0/hip$ HIP_PATH=/opt/rocm-3.10.0/hip make VERBOSE=1 --TESTING: backprop make[1]: Entering directory '/home/user/HIP-Examples/rodinia_3.0/hip/backprop' O2 backprop.c -c make[1]:...
I'm getting these errors when I try to compile an example with the HIP `nvcc` backend. What is the problem? ``` $ cd add4 $ make /opt/rocm/hip/bin/hipcc -std=c++11 -O3 -c...