-
Consider the following CUDA program:
```c++
__global__ void axpy_kernel(float a, float* x, float* y) {
y[threadIdx.x] = a * x[threadIdx.x];
}
void axpy(float a, float* x, float* y) {
…
-
- OS Ubuntu 18.04
- `clang version 6.0.1-svn334776-1~exp1~20181018152737.116 (branches/release_60)` from official llvm repos
- CUDA 9.0 Patch 4
- HIP: hip_nvcc from repos
- since HIP does not c…
-
Dear Hipify developers. I am trying to convert the project with hipify-clang. To my surprise the kernel ccordinates like blockIdx ThreadIdx ... and so on were not converted. To a quick look to hipify-…
-
After commit f19e7c29dfcef3d0c941c977ce6d1448ad4e288a hipify-clang goes to the install_root/
and not to the install_root/bin:
`rm -rf ~/software/hip && rm -rf * && cmake -DCMAKE_BUILD_TYPE=Release…
-
Building HIP from sources with cmake option DBUILD_HIPIFY_CLANG=ON picks up LLVM from the system. Instead, I think it should pick what comes delivered with HCC. At least in my case, the system LLVM is…
-
hcc deprecated !
please use hipcc instead hcc
and instead obsolete hcc platform use rocclr in all ebuilds
and bump hip to last version 3.5.1
-
Both hipify-clang and hipify-perl translate kernel lunch line like this:
`sort(d_gpu, result_gpu);`
to
` hipLaunchKernelGGL(sort, dim3(1), dim3(512), 0, 0, d_gpu, result_gpu);`
which leads to fo…
-
After installing the `hip-nvcc` package and running `hipcc -h`, I get this error:
```
Can't exec "/opt/rocm/hcc/bin/hcc": No such file or directory at /usr/bin/hipcc line 245.
Use of uninitialized …
-
To support better modularity, composability, really useful constructs such as classes, lambdas, and templates, compile time polymorphism (**very useful for performance gains over C and has a large fol…
-
STR:
1. Create an empty file called `test.h`
2. Create a file called `test.cpp` containing only `#include "test.h"`
3. Run: `hipify-clang test.cpp -- -x cuda --cuda-path=` - works correctly
4. Run…