Backend: Add threadid as a curbe register

Graphics / Beignet - Junyan He [linux.intel.com] - 14 December 2015 01:11 UTC

We need to build a map between logical workgroup thread and real hw thread. This curbe will hold the logical workgroup thread ID when it is executed on some HW thread.

fbb2c48 Backend: Add threadid as a curbe register.
backend/src/backend/program.h | 1 +
backend/src/ir/instruction.cpp | 2 +-
backend/src/ir/profile.cpp | 4 +++-
backend/src/ir/profile.hpp | 3 ++-
4 files changed, 7 insertions(+), 3 deletions(-)

Upstream: cgit.freedesktop.org


  • Share