Build: upgrade Intel Graphics Compiler and ocloc on Linux #127251

Merged
Xavier Hallade merged 1 commits from xavierh/blender:igc-1.0.17384 into main 2024-09-12 09:12:40 +02:00
Member

IGC 1.0.17384, ocloc 24.31.30508, which:

  • add support for Battlemage and Lunar Lake GPUs
  • recover from recent performance regression on Linux
  • allow to drop older work-around (9d5164d472)
  • supports "dg2,mtl" naming for fat binaries

opencl-clang patches don't get applied anymore by igc build scripts when llvm is not a git repository, hence I could also drop the current patch disabling patching.

I've only slightly pushed min-driver-version updates after carefull testing, instead of jumping to the same version as ocloc as we use to.

This lib update is needed to restore GPU binaries compilation on Linux after 56db2d393d

IGC 1.0.17384, ocloc 24.31.30508, which: - add support for Battlemage and Lunar Lake GPUs - recover from recent performance regression on Linux - allow to drop older work-around (9d5164d472) - supports "dg2,mtl" naming for fat binaries opencl-clang patches don't get applied anymore by igc build scripts when llvm is not a git repository, hence I could also drop the current patch disabling patching. I've only slightly pushed min-driver-version updates after carefull testing, instead of jumping to the same version as ocloc as we use to. This lib update is needed to restore GPU binaries compilation on Linux after https://projects.blender.org/blender/blender/commit/56db2d393d272014a862a12fe614cfbf46c2224f
Xavier Hallade added this to the Platforms, Builds Tests & Devices project 2024-09-06 15:13:23 +02:00
Xavier Hallade added the
Interest
Render & Cycles
label 2024-09-06 15:13:31 +02:00
Sergey Sharybin was assigned by Xavier Hallade 2024-09-06 15:13:40 +02:00
Xavier Hallade requested review from Sergey Sharybin 2024-09-06 15:13:48 +02:00
Xavier Hallade added this to the 4.3 milestone 2024-09-06 15:14:30 +02:00
Campbell Barton was assigned by Xavier Hallade 2024-09-06 15:15:33 +02:00
Sergey Sharybin requested review from Campbell Barton 2024-09-09 11:39:29 +02:00
Sergey Sharybin requested review from Ray molenkamp 2024-09-09 11:39:30 +02:00

I think it is more for the platform maintainers to review and recompile.
I've deployed new OCLOC on Window builders, and added this task to the 4.3 libraries tracking task #125241.

I think it is more for the platform maintainers to review and recompile. I've deployed new OCLOC on Window builders, and added this task to the 4.3 libraries tracking task #125241.
Author
Member

@blender-bot package

@blender-bot package
Member

Package build started. Download here when ready.

Package build started. [Download here](https://builder.blender.org/download/patch/PR127251) when ready.
Ray molenkamp reviewed 2024-09-10 17:02:38 +02:00
@ -717,3 +717,3 @@
# Source llvm-spirv/CMakeLists.txt (repo)
# Source llvm-spirv/spirv-headers-tag.conf (hash)
set(SPIRV_HEADERS_VERSION b73e168ca5e123dcf3dea8a34b19a5130f421ae1)
set(SPIRV_HEADERS_VERSION 1c6bb2743599e6eb6f37b2969acc0aef812e32e3)
Member

This is used by dpcpp, which explicitly requested b73e168 in its documentation, you sure this change is correct? if it is, is a dpcpp rebuild required?

This is used by dpcpp, which explicitly requested b73e168 in its documentation, you sure this change is correct? if it is, is a dpcpp rebuild required?
Author
Member

good catch, there is another version of SPIRV-Headers used by IGC and I've updated this one by mistake. It still works but no, a dpcpp rebuild is not required, I'll remove this part.

good catch, there is another version of SPIRV-Headers used by IGC and I've updated this one by mistake. It still works but no, a dpcpp rebuild is not required, I'll remove this part.
xavierh marked this conversation as resolved
Ray molenkamp approved these changes 2024-09-10 18:13:56 +02:00
Ray molenkamp left a comment
Member

Not a whole lot here for windows :)

Not a whole lot here for windows :)
Xavier Hallade force-pushed igc-1.0.17384 from ca4f346f26 to a2e4cedaca 2024-09-11 18:08:30 +02:00 Compare
Xavier Hallade changed title from Build: upgrade Intel Graphics Compiler and ocloc on Linux and Windows to Build: upgrade Intel Graphics Compiler and ocloc on Linux 2024-09-11 18:08:47 +02:00
Campbell Barton approved these changes 2024-09-12 05:07:37 +02:00
Campbell Barton left a comment
Owner

Blender builds & tests pass.

Blender builds & tests pass.
Xavier Hallade merged commit a1182e07b1 into main 2024-09-12 09:12:40 +02:00
Xavier Hallade deleted branch igc-1.0.17384 2024-09-12 09:12:43 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#127251
No description provided.