Files
compute-runtime/shared/source/helpers/neo_driver_version.h
Kamil Kopryk 6993ed5c52 Reduce binaries sizes 2/n
Observed about 50MB reduction in overall binaries size (directory build))
when building all targets
with MSVC (Visual Studio 2022 17.3.0 preview 6)
using Debug 64 configuration.

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
2022-12-08 16:14:38 +01:00

28 lines
359 B
C++

/*
* Copyright (C) 2019-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "driver_version.h"
#ifdef QTR
#undef QTR
#endif
#ifdef TOSTR
#undef TOSTR
#endif
#define QTR(a) #a
#define TOSTR(b) QTR(b)
namespace NEO {
inline constexpr const char *driverVersion = TOSTR(NEO_OCL_DRIVER_VERSION);
}
#undef QTR
#undef TOSTR