mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
Improving cpp compliance
Signed-off-by: Jaroslaw Chodor <jaroslaw.chodor@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
d55afceb8b
commit
abf0649a5b
@@ -20,7 +20,6 @@
|
||||
#include "shared/source/helpers/string.h"
|
||||
#include "shared/source/os_interface/os_library.h"
|
||||
|
||||
#include "opencl/source/helpers/validators.h"
|
||||
#include "opencl/source/os_interface/os_inc_base.h"
|
||||
#include "opencl/source/platform/extensions.h"
|
||||
|
||||
@@ -51,6 +50,16 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
template <typename T = void>
|
||||
bool areNotNullptr() {
|
||||
return true;
|
||||
}
|
||||
|
||||
template <typename T, typename... RT>
|
||||
bool areNotNullptr(T t, RT... rt) {
|
||||
return (t != nullptr) && areNotNullptr<RT...>(rt...);
|
||||
}
|
||||
|
||||
CIF::CIFMain *createMainNoSanitize(CIF::CreateCIFMainFunc_t createFunc);
|
||||
|
||||
std::string convertToPascalCase(const std::string &inString) {
|
||||
|
||||
Reference in New Issue
Block a user