|
**!!! UNDER CONSTRUCTION !!!**
|
|
|
|
|
|
|
|
# Hipify the code
|
|
# Hipify the code
|
|
To be able to use the toolkit with AMD ROCm you need to first hipify the code.
|
|
To be able to use the toolkit with AMD ROCm you need to first hipify the code.
|
|
Use provided script
|
|
Use provided script
|
... | @@ -49,4 +47,7 @@ HIPCCFLAGS=-std=c++14 --offload-arch=gfx90a |
... | @@ -49,4 +47,7 @@ HIPCCFLAGS=-std=c++14 --offload-arch=gfx90a |
|
# LIBRARIES
|
|
# LIBRARIES
|
|
# You need to link to amdhip64 and hipfft libs
|
|
# You need to link to amdhip64 and hipfft libs
|
|
LIBS= -L$(HIP_LIB_PATH) -lamdhip64 -L$(EBROOTHIPFFT)/lib -lhipfft -lm
|
|
LIBS= -L$(HIP_LIB_PATH) -lamdhip64 -L$(EBROOTHIPFFT)/lib -lhipfft -lm
|
|
``` |
|
```
|
|
\ No newline at end of file |
|
|
|
|
|
# Example
|
|
|
|
See for [LUMI supercomputer templates](https://gitlab.fizyka.pw.edu.pl/wtools/wslda/-/tree/public/templates/lumi/td). |
|
|
|
\ No newline at end of file |