mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Fix compilation with OCL_RUNTIME_PROFILING
Change-Id: Ib07543fb5f6048e99cdd198111ba88309da2c3e8 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
0a927f8cdc
commit
72a5c2c6c4
@@ -7,7 +7,7 @@
|
||||
|
||||
#include "runtime/utilities/perf_profiler.h"
|
||||
|
||||
#include <runtime/utilities/stackvec.h>
|
||||
#include "runtime/utilities/stackvec.h"
|
||||
|
||||
#include "os_inc.h"
|
||||
|
||||
@@ -22,6 +22,8 @@ namespace OCLRT {
|
||||
|
||||
std::atomic<int> PerfProfiler::counter(0);
|
||||
|
||||
thread_local PerfProfiler *gPerfProfiler = nullptr;
|
||||
|
||||
PerfProfiler *PerfProfiler::objects[PerfProfiler::objectsNumber] = {
|
||||
nullptr,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user