mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
enable instrumentation when available
use of instrumentation will be enabled: - runtime capability set to True - static library available during compilation - device reports capability Change-Id: I43286ebf1135f3a2ec6af924e27ece03042ac0ca
This commit is contained in:

committed by
sys_ocldev

parent
ed5e2c2da8
commit
63732513bb
@ -23,6 +23,7 @@
|
||||
#include "instrumentation.h"
|
||||
|
||||
namespace OCLRT {
|
||||
const bool haveInstrumentation = false;
|
||||
|
||||
bool instrAutoSamplingStart(
|
||||
InstrEscCbData cbData,
|
||||
|
@ -46,6 +46,8 @@ constexpr unsigned int INSTR_PM_REGS_CFG_INVALID = 0;
|
||||
constexpr unsigned int INSTR_READ_REGS_CFG_TAG = 0xFFFFFFFE;
|
||||
constexpr unsigned int INSTR_MAX_READ_REGS = 16;
|
||||
|
||||
extern const bool haveInstrumentation;
|
||||
|
||||
typedef enum {
|
||||
INSTR_AS_MODE_OFF,
|
||||
INSTR_AS_MODE_EVENT,
|
||||
|
Reference in New Issue
Block a user