mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-11 16:45:25 +08:00
fix: fix issues with ubsan in shared and ocl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
69b01907a9
commit
cec6492cd9
@@ -213,6 +213,9 @@ IgcFeaturesAndWorkarounds<0>::~IgcFeaturesAndWorkarounds() {}
|
||||
template <typename... ArgsT>
|
||||
IgcFeaturesAndWorkarounds<0>::IgcFeaturesAndWorkarounds(ArgsT &&...args) {}
|
||||
|
||||
template <>
|
||||
IgcFeaturesAndWorkarounds<0>::IgcFeaturesAndWorkarounds() {}
|
||||
|
||||
#define DEFINE_GET_SET(INTERFACE, VERSION, NAME, TYPE) \
|
||||
TYPE CIF_GET_INTERFACE_CLASS(INTERFACE, VERSION)::Get##NAME() const { return (TYPE)0; } \
|
||||
void CIF_GET_INTERFACE_CLASS(INTERFACE, VERSION)::Set##NAME(TYPE v) {}
|
||||
|
||||
Reference in New Issue
Block a user