Blender Git Loki

Git Commits -> Revision 36f5198

Revision 36f5198 by Brian Savery (master)
November 4, 2021, 19:24 (GMT)
Fix Cycles HIP Kernels loading on Arch names with extra options

The kernel file names are search for based on the arch name, for example
gfx1010. However HIP's gcnArchName can contain options such as xnack- in
the name. For example gfx1010:sramecc-:xnack-.

This revision tokenizes the info from gcnArchName and just uses the first
token for choosing the Kernel file to use. Kernels are portable across those
features in the arch name.

Also remove the bit for recompiling ptx as clearly that is not relevant.

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

Commit Details:

Full Hash: 36f5198282d3e91b11d9db488705a852377edd31
Parent Commit: 5c34e34
Committed By: Brecht Van Lommel
Lines Changed: +10, -25

1 Modified Path:

/intern/cycles/device/hip/device_impl.cpp (+10, -25) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021