feat: kernel script

This commit is contained in:
2024-09-12 10:19:59 -07:00
parent 63b5f2a4dd
commit 74832c3f64
2 changed files with 16 additions and 6 deletions
+16
View File
@@ -0,0 +1,16 @@
cd /home/rocm/blender/build/intern/cycles/kernel && \
/usr/bin/hipcc \
--amdgpu-target=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 \
--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