2024-09-21 16:06:16 -07:00
2024-09-10 22:35:38 -07:00
2024-09-20 14:35:41 -07:00
2024-09-11 11:26:10 -07:00
2024-09-20 14:35:41 -07:00
2024-09-13 14:20:49 -07:00
2024-09-13 14:20:49 -07:00
2024-09-13 09:25:14 -07:00
2024-09-08 20:25:48 -07:00
2024-09-21 16:06:16 -07:00
2024-09-13 11:05:23 -07:00

gfx803

blender

[x] ROCm 5.7.3 (runtime) + Blender 3.6.15 with -O3 kernel

Only with kernel compiled with:

# gfx803
# > https://github.com/xuhuisheng/rocm-gfx803/issues/28
/opt/rocm/bin/hipcc \
    -Wno-parentheses-equality \
    -Wno-unused-value \
    -O3 \
    --amdgpu-target=gfx803 \
    -I /home/rocm/blender/intern/cycles \
    --genco /home/rocm/blender/intern/cycles/kernel/device/hip/kernel.cpp \
    -o kernel_gfx803.fatbin

# Same as:
/usr/bin/hipcc \
    --offload-arch=gfx803 \
    --genco /home/rocm/blender/intern/cycles/kernel/device/hip/kernel.cpp \
    -D CCL_NAMESPACE_BEGIN= \
    -D CCL_NAMESPACE_END= \
    -D HIPCC \
    -I /home/rocm/blender/intern/cycles/kernel/.. \
    -I /home/rocm/blender/intern/cycles/kernel/device/hip \
    -Wno-parentheses-equality \
    -Wno-unused-value \
    -O3 \
    -o kernel_gfx803-O3-original.fatbin

-ffast-math may cause error

ROCm 5.4.1 (clang 15) compiler is needed.

ROCm 5.5.3 (clang 16) compiler not working.

Monitor

watch -n 1 /opt/rocm/bin/rocm-smi

amdgpu

https://launchpad.net/~kisak/+archive/ubuntu/kisak-mesa

S
Description
ROCm for old GPU like gfx803 and gfx900
Readme
67 KiB
Languages
Dockerfile 80.2%
Shell 19.8%