Blender Git Loki

Git Commits -> Revision 044a773

Revision 044a773 by Brian Savery (master)
September 28, 2021, 17:18 (GMT)
Cycles: add HIP device support for AMD GPUs

NOTE: this feature is not ready for user testing, and not yet enabled in daily
builds. It is being merged now for easier collaboration on development.

HIP is a heterogenous compute interface allowing C++ code to be executed on
GPUs similar to CUDA. It is intended to bring back AMD GPU rendering support
on Windows and Linux.

https://github.com/ROCm-Developer-Tools/HIP.

As of the time of writing, it should compile and run on Linux with existing
HIP compilers and driver runtimes. Publicly available compilers and drivers
for Windows will come later.

See task T91571 for more details on the current status and work remaining
to be done.

Credits:

Sayak Biswas (AMD)
Arya Rafii (AMD)
Brian Savery (AMD)

Differential Revision: https://developer.blender.org/D12578

Commit Details:

Full Hash: 044a77352f8a8a0e1f60190369d69ef26587b65f
Parent Commit: 262b211
Committed By: Brecht Van Lommel
Lines Changed: +4854, -19

19 Added Paths:

/extern/hipew/CMakeLists.txt (+39, -0) (View)
/extern/hipew/include/hipew.h (+1207, -0) (View)
/extern/hipew/src/hipew.c (+533, -0) (View)
/intern/cycles/device/hip/device.cpp (+276, -0) (View)
/intern/cycles/device/hip/device.h (+37, -0) (View)
/intern/cycles/device/hip/device_impl.cpp (+1343, -0) (View)
/intern/cycles/device/hip/device_impl.h (+153, -0) (View)
/intern/cycles/device/hip/graphics_interop.cpp (+93, -0) (View)
/intern/cycles/device/hip/graphics_interop.h (+61, -0) (View)
/intern/cycles/device/hip/kernel.cpp (+69, -0) (View)
/intern/cycles/device/hip/kernel.h (+54, -0) (View)
/intern/cycles/device/hip/queue.cpp (+209, -0) (View)
/intern/cycles/device/hip/queue.h (+68, -0) (View)
/intern/cycles/device/hip/util.cpp (+61, -0) (View)
/intern/cycles/device/hip/util.h (+63, -0) (View)
/intern/cycles/kernel/device/hip/compat.h (+121, -0) (View)
/intern/cycles/kernel/device/hip/config.h (+57, -0) (View)
/intern/cycles/kernel/device/hip/globals.h (+49, -0) (View)
/intern/cycles/kernel/device/hip/kernel.cpp (+28, -0) (View)

26 Modified Paths:

/CMakeLists.txt (+10, -0) (Diff)
/extern/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/blender/addon/engine.py (+1, -1) (Diff)
/intern/cycles/blender/addon/properties.py (+9, -4) (Diff)
/intern/cycles/blender/addon/ui.py (+5, -0) (Diff)
/intern/cycles/blender/blender_device.cpp (+4, -0) (Diff)
/intern/cycles/blender/blender_python.cpp (+7, -2) (Diff)
/intern/cycles/blender/CMakeLists.txt (+3, -0) (Diff)
/intern/cycles/cmake/external_libs.cmake (+4, -0) (Diff)
/intern/cycles/cmake/macros.cmake (+4, -0) (Diff)
/intern/cycles/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/device/CMakeLists.txt (+32, -0) (Diff)
/intern/cycles/device/device.cpp (+42, -0) (Diff)
/intern/cycles/device/device.h (+3, -0) (Diff)
/intern/cycles/device/device_memory.h (+1, -0) (Diff)
/intern/cycles/integrator/path_trace.cpp (+2, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+116, -0) (Diff)
/intern/cycles/kernel/device/gpu/parallel_active_index.h (+5, -1) (Diff)
/intern/cycles/kernel/device/gpu/parallel_prefix_sum.h (+5, -1) (Diff)
/intern/cycles/kernel/device/gpu/parallel_reduce.h (+5, -1) (Diff)
/intern/cycles/kernel/device/gpu/parallel_sorted_index.h (+5, -1) (Diff)
/intern/cycles/util/util_atomic.h (+1, -1) (Diff)
/intern/cycles/util/util_debug.cpp (+15, -0) (Diff)
/intern/cycles/util/util_debug.h (+14, -0) (Diff)
/intern/cycles/util/util_half.h (+22, -2) (Diff)
/intern/cycles/util/util_math.h (+14, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021