mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Optimize getRootDeviceIndex.
Virtual functions are not easily optimizable by compiler, so making this normal function. This function is called heavily so it needs to be highly optimized. Signed-off-by: Michal Mrozek <michal.mrozek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5baf25163f
commit
dc44b13b53
@@ -22,8 +22,6 @@
|
||||
|
||||
#include "CL/cl.h"
|
||||
|
||||
static_assert(NEO::HwInfoConfig::uuidSize == ZE_MAX_DEVICE_UUID_SIZE);
|
||||
|
||||
struct _ze_device_handle_t {};
|
||||
namespace NEO {
|
||||
class Device;
|
||||
|
||||
Reference in New Issue
Block a user