Fix compilation with OCL_RUNTIME_PROFILING

Change-Id: Ib07543fb5f6048e99cdd198111ba88309da2c3e8
Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2019-03-01 19:29:58 +01:00
committed by sys_ocldev
parent 0a927f8cdc
commit 72a5c2c6c4
8 changed files with 15 additions and 57 deletions

View File

@@ -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,
};