Cycles: Linux Support for HIP-RT #121050

Merged
Sergey Sharybin merged 57 commits from salipour/AMD_HIPRT:HIPRT_OPEN_SOURCE into main 2024-09-24 14:35:43 +02:00

57 Commits

Author SHA1 Message Date
f3bef595d7 Update hash for the Linux libraries submodule
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
2024-09-24 10:09:57 +02:00
443ab3174d Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-24 10:08:16 +02:00
69ad51d2e4 Cleanup: Fix indentation
All checks were successful
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
Only notices after pushing.
2024-09-18 10:17:38 +02:00
f24a9a3acd Enable HIP-RT for release builds on Linux 2024-09-18 10:16:59 +02:00
6eea897990 Point submodules to the proper libs
Some checks reported errors
buildbot/vexp-code-patch-lint Build done.
buildbot/vexp-code-patch-linux-x86_64 Build done.
buildbot/vexp-code-patch-darwin-arm64 Build done.
buildbot/vexp-code-patch-windows-amd64 Build done.
buildbot/vexp-code-patch-darwin-x86_64 Build done.
buildbot/vexp-code-patch-coordinator Build done.
2024-09-18 09:57:48 +02:00
e2ba69fd8d Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-18 09:57:02 +02:00
ae91df0e46 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-17 21:30:56 +02:00
6b3ab8d323 Merge branch 'HIPRT_OPEN_SOURCE' of projects.blender.org:salipour/AMD_HIPRT into HIPRT_OPEN_SOURCE 2024-09-16 09:57:05 -07:00
9b72e4506d Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-12 17:31:50 +02:00
707d67df19 Merge branch 'HIPRT_OPEN_SOURCE' of projects.blender.org:salipour/AMD_HIPRT into HIPRT_OPEN_SOURCE 2024-09-10 07:36:11 -07:00
faf669a2e0 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-10 16:32:21 +02:00
5697d4aa40 updated the dependecy path 2024-09-09 17:35:16 -07:00
8e5a4c11ed hiprt source update to install headers 2024-09-09 16:58:36 -07:00
db7dc075bc hiprt source update to install headers 2024-09-09 12:32:22 -07:00
9333515ce3 Updating hiprt find module for more clarity 2024-09-04 18:31:58 -07:00
b63350cc48 Merge branch 'HIPRT_OPEN_SOURCE' of projects.blender.org:salipour/AMD_HIPRT into HIPRT_OPEN_SOURCE 2024-09-04 16:07:00 -07:00
83c67731b1 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-09-03 16:33:20 +02:00
dd1813d30f Cleanup: Use ccl::string instead of std::string
Affects the code which is seemingly added.
2024-08-29 14:41:45 +02:00
2d8f3ba493 Cleanup: Indentation 2024-08-29 14:41:33 +02:00
6e77a04c03 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-08-29 14:37:34 +02:00
80b26196ca Add option to control parallel level for HIP-RT kernels
The default value is 1 which has no effect on the compilation time
compared to the state prior to this change.

With the value of 4 the setup which is similar to the buildbot the
compile time for the new kernels is lowered from 30+ to about min,
which is more acceptable. There does not seep to be huge memory
penalty, so the value might potentially be increased further if
needed.
2024-08-29 14:37:30 +02:00
3f9574a50d Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-08-27 13:35:15 -07:00
1deab0f181 Format 2024-08-23 14:00:06 -07:00
e4ae1b5533 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-08-21 20:58:06 +02:00
e96f124810 Adding back hiprt64.dll copy to cmake file
Fixing the make nobuild error
2024-08-20 15:15:02 -07:00
d26529cf17 Merge branch 'HIPRT_OPEN_SOURCE' of projects.blender.org:salipour/AMD_HIPRT into HIPRT_OPEN_SOURCE 2024-08-16 08:41:08 -07:00
8a75c29504 code review update 2024-08-16 08:36:51 -07:00
7336078910 Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-08-13 19:03:23 +02:00
8c17957810 Removed extra slash from path 2024-08-12 18:24:46 -07:00
84649f7e04 adding hiprtlib directory 2024-08-12 14:58:06 -07:00
fa529dcf62 Merge branch 'HIPRT_OPEN_SOURCE' of projects.blender.org:salipour/AMD_HIPRT into HIPRT_OPEN_SOURCE 2024-08-09 11:34:26 -07:00
7358de3ee8 Updated the copy location of bvh kernel binaries
Updated the launch time kernel compilation to match the current hiprt kernel layout
Moved bvh kernel binary compilation to build time regardless of WITH_CYCLES_HIP_BINARIES value
2024-08-09 11:16:03 -07:00
600155ce99 Cleanup: Code style and unneeded whitespace changes 2024-08-09 09:58:43 +02:00
c80bd46c0f Merge branch 'main' into HIPRT_OPEN_SOURCE 2024-08-09 09:46:11 +02:00
a73c214129 harvest.cmake 2024-08-07 19:47:49 -07:00
de2114b13f Updated the install path for Cycles stand-alone 2024-08-02 09:47:22 -07:00
3febe21c63 Updated CMake to query HIP-RT version from hiprt.h 2024-07-24 13:50:03 -07:00
1458a565b3 Fixed formatting/style 2024-07-23 15:14:22 -07:00
4eb3743881 Fixed the broken compatibilty between HIPRT 2.0 and HIPRT 2.2 for custom geometry bounding box 2024-07-19 15:07:02 -07:00
7162ac5302 Updated to the latest version of HIPRT;
Made enablement of HIPRT conditioned on finding HIP_LINKER_EXECUTABLE
2024-07-19 08:49:14 -07:00
bdad2a737b Updated hiprt.cmake to align with changes at
#123196
2024-07-17 12:12:51 -07:00
3d85bcf4df Fixed incorrectly merged harvest.cmake 2024-07-17 10:56:58 -07:00
68d52dd786 rebase onto origin/main 2024-07-16 17:45:46 -07:00
d641d88e97 Building the hiprt from source on Windows;
Compiling HIPRT kernels from source.
2024-07-16 17:45:46 -07:00
bdcf5c476d Update for latest RC and switch to CMake 2024-07-16 17:45:46 -07:00
dc72b84f24 WIP: Use latest RC and CMake build system 2024-07-16 17:45:46 -07:00
851d86caaf - Fix Python not being found for the preprocessing steps
- Fix C++20 Usage
2024-07-16 17:45:46 -07:00
a558e8bad6 Remove now unnecessary dynamic lib detection 2024-07-16 17:45:46 -07:00
ce4ce57b73 Remove version number from library name
This makes installing and loading the library easier.
2024-07-16 17:45:46 -07:00
9f701ecace Handle orochi as own package, disable encryption, and more fixes 2024-07-16 17:45:46 -07:00
787deb2de6 Various changes towards getting this to actually build on Linux 2024-07-16 17:45:46 -07:00
4d46c0d52d reverting submodule 2024-07-16 17:45:46 -07:00
a2e7169658 HIPRT Linux, Code Review #1
Conflict resolved for harvest.cmake
2024-07-16 17:45:46 -07:00
e7f8e145bf Adding Linux support, switching to HIP-RT open sourced
Conflict resolved for kernel/cmakelist
2024-07-16 17:45:46 -07:00
92f6c54468 Submodule rebase update 2024-07-16 17:45:46 -07:00
79c42d21ff Switching to HIPRT 2.2
Conflict resolved hiprt/device_impl.cpp
2024-07-16 17:45:46 -07:00
290c860a3d 1. Fix for Cycles Crash on deleting/hiding all mesh objects with HIP RT (#112983)
2. Update for hip path to also include ROCm 6 driver

# Conflicts:
#	intern/cycles/device/hiprt/device_impl.cpp
2024-07-16 17:45:45 -07:00