chore: log

This commit is contained in:
2024-09-13 12:49:07 -07:00
parent 7a032104ee
commit d8114a4394
+15 -4
View File
@@ -8,22 +8,33 @@ cd /home/rocm/blender/build/intern/cycles/kernel && \
-D HIPCC \
-I /home/rocm/blender/intern/cycles/kernel/.. \
-I /home/rocm/blender/intern/cycles/kernel/device/hip \
-Wno-parentheses-equality \
-Wno-unused-value \
--hipcc-func-supp \
-ffast-math \
-o /home/rocm/blender/build/intern/cycles/kernel/kernel_gfx803.fatbin \
-D WITH_NANOVDB \
-I /home/rocm/blender/lib/linux_x64/openvdb/include
# > https://projects.blender.org/blender/blender/issues/112084
hipcc \
--offload-arch=<your-arch> \
--genco intern/cycles/kernel/device/hip/kernel.cpp \
-D CCL_NAMESPACE_BEGIN= \
-D CCL_NAMESPACE_END= \
-D HIPCC \
-I intern/cycles/kernel/.. \
-I intern/cycles/kernel/device/hip \
-ffast-math \
-o kernel_<your_arch>.fatbin \
-mcode-object-version=4 \
-Xclang \
-mcode-object-version=4
# gfx803
# > https://github.com/xuhuisheng/rocm-gfx803/issues/28
/opt/rocm/bin/hipcc \
-Wno-parentheses-equality \
-Wno-unused-value \
-O3 \
-ggdb \
-save-temps \
--amdgpu-target=gfx803 \
-I /home/work/blender-git/blender/intern/cycles \
--genco /home/work/blender-git/blender/intern/cycles/kernel/device/hip/kernel.cpp \