mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 23:03:02 +08:00
feature: initial register count query implementation
Adds a per-kernel and per-device query to determine the number of GRF registers that a kernel was compiled for. This is an informal query for now, but may be added to a formally supported extension in the future. Related-To: NEO-9807 Signed-off-by: Ben Ashbaugh <ben.ashbaugh@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3b4eb80e89
commit
976c6d3acc
@@ -343,6 +343,10 @@ typedef cl_bitfield cl_command_queue_mdapi_properties_intel;
|
||||
#define CL_DEVICE_EU_THREAD_COUNTS_INTEL 0x1000A // placeholder
|
||||
#define CL_KERNEL_EU_THREAD_COUNT_INTEL 0x1000B // placeholder
|
||||
|
||||
#if !defined(cl_intel_maximum_registers)
|
||||
#define CL_KERNEL_REGISTER_COUNT_INTEL 0x425B
|
||||
#endif
|
||||
|
||||
/*************************************************
|
||||
* cl_ext_float_atomics extension *
|
||||
*************************************************/
|
||||
|
||||
Reference in New Issue
Block a user