20b9b5a08c
This removes almost all uses of the deprecated __AMDGCN_WAVEFRONT_SIZE macro, which is unavailable when targeting SPIR-V, and adds a SPIR-V compatible formulation of warpSize (which should end up as the sole definition of warpSize once we remove support for treating it as a compile time constant). It is incomplete in that the cooperative_groups implementation will need additional surgery. Squashed commit of the following: commit 6840826c3fec8516857dc4f2092d84358550f588 Author: Alex Voicu <alexandru.voicu@amd.com> Date: Fri Dec 6 23:36:32 2024 +0000 Add deprecation warning for constexpr uses of `warpSize`. commit a72307a7353034c2de53fd164e016967945fd0d1 Author: Alex Voicu <alexandru.voicu@amd.com> Date: Fri Dec 6 23:12:14 2024 +0000 Prepare HIP RT for SPIR-V. commit 5e40dd746ac4f8c93b521ef048ff9d494905ba95 Author: Alex Voicu <alexandru.voicu@amd.com> Date: Fri Dec 6 22:46:05 2024 +0000 Revert stale change. commit 231fe91c53dba4cabd832fc84eaa6ddb402271a0 Merge: a48905ec912dc02b4fAuthor: Alex Voicu <alexandru.voicu@amd.com> Date: Fri Dec 6 22:37:24 2024 +0000 Merge branch 'amd-staging' of https://github.com/ROCm/clr into amd-staging commit a48905ec9cfe0e017cc64943195be82b530117d7 Author: Alex Voicu <alexandru.voicu@amd.com> Date: Tue Sep 17 03:14:56 2024 +0100 Add scaffolding for SPIR-V support. Change-Id: I2e84bbe90df58a5f9a8709b619905f04fa5b96dc [ROCm/clr commit:dd4378611a]