mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
refactor: correct variable namings
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9e3a8bdf1b
commit
36194c4e7d
@@ -17,8 +17,8 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
ClFileLogger<DebugLevel>::ClFileLogger(FileLogger<DebugLevel> &baseLoggerIn, const DebugVariables &flags) : baseLogger(baseLoggerIn) {
|
||||
template <DebugFunctionalityLevel debugLevel>
|
||||
ClFileLogger<debugLevel>::ClFileLogger(FileLogger<debugLevel> &baseLoggerIn, const DebugVariables &flags) : baseLogger(baseLoggerIn) {
|
||||
dumpKernelArgsEnabled = flags.DumpKernelArgs.get();
|
||||
}
|
||||
|
||||
@@ -27,8 +27,8 @@ ClFileLogger<globalDebugFunctionalityLevel> &getClFileLogger() {
|
||||
return clFileLoggerInstance;
|
||||
}
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
void ClFileLogger<DebugLevel>::dumpKernelArgs(const MultiDispatchInfo *multiDispatchInfo) {
|
||||
template <DebugFunctionalityLevel debugLevel>
|
||||
void ClFileLogger<debugLevel>::dumpKernelArgs(const MultiDispatchInfo *multiDispatchInfo) {
|
||||
if (false == baseLogger.enabled()) {
|
||||
return;
|
||||
}
|
||||
@@ -100,8 +100,8 @@ void ClFileLogger<DebugLevel>::dumpKernelArgs(const MultiDispatchInfo *multiDisp
|
||||
}
|
||||
}
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
const std::string ClFileLogger<DebugLevel>::getEvents(const uintptr_t *input, uint32_t numOfEvents) {
|
||||
template <DebugFunctionalityLevel debugLevel>
|
||||
const std::string ClFileLogger<debugLevel>::getEvents(const uintptr_t *input, uint32_t numOfEvents) {
|
||||
if (false == baseLogger.enabled()) {
|
||||
return "";
|
||||
}
|
||||
@@ -116,8 +116,8 @@ const std::string ClFileLogger<DebugLevel>::getEvents(const uintptr_t *input, ui
|
||||
return os.str();
|
||||
}
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
const std::string ClFileLogger<DebugLevel>::getMemObjects(const uintptr_t *input, uint32_t numOfObjects) {
|
||||
template <DebugFunctionalityLevel debugLevel>
|
||||
const std::string ClFileLogger<debugLevel>::getMemObjects(const uintptr_t *input, uint32_t numOfObjects) {
|
||||
if (false == baseLogger.enabled()) {
|
||||
return "";
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2023 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -16,10 +16,10 @@
|
||||
namespace NEO {
|
||||
struct MultiDispatchInfo;
|
||||
|
||||
template <DebugFunctionalityLevel DebugLevel>
|
||||
template <DebugFunctionalityLevel debugLevel>
|
||||
class ClFileLogger : public NonCopyableOrMovableClass {
|
||||
public:
|
||||
ClFileLogger(FileLogger<DebugLevel> &baseLoggerInm, const DebugVariables &flags);
|
||||
ClFileLogger(FileLogger<debugLevel> &baseLoggerInm, const DebugVariables &flags);
|
||||
|
||||
void dumpKernelArgs(const MultiDispatchInfo *multiDispatchInfo);
|
||||
const std::string getEvents(const uintptr_t *input, uint32_t numOfEvents);
|
||||
@@ -27,7 +27,7 @@ class ClFileLogger : public NonCopyableOrMovableClass {
|
||||
|
||||
protected:
|
||||
bool dumpKernelArgsEnabled = false;
|
||||
FileLogger<DebugLevel> &baseLogger;
|
||||
FileLogger<debugLevel> &baseLogger;
|
||||
};
|
||||
|
||||
ClFileLogger<globalDebugFunctionalityLevel> &getClFileLogger();
|
||||
|
||||
Reference in New Issue
Block a user