@@ -84,8 +84,8 @@ typedef CL_API_ENTRY cl_int(CL_API_CALL *clSetProgramSpecializationConstant_fn)(
84
84
struct ExtFuncsPerContextT ;
85
85
86
86
namespace detail {
87
- template <const char *FuncName, typename FuncT>
88
- std::pair<FuncT &, bool &> get (ExtFuncsPerContextT &);
87
+ template <const char *FuncName, typename FuncT>
88
+ std::pair<FuncT &, bool &> get (ExtFuncsPerContextT &);
89
89
} // namespace detail
90
90
91
91
struct ExtFuncsPerContextT {
@@ -114,20 +114,20 @@ namespace detail {
114
114
#define _EXT_FUNCTION_INTEL (t_pfx ) \
115
115
template <> \
116
116
std::pair<t_pfx##INTEL_fn &, bool &> get<t_pfx##Name, t_pfx##INTEL_fn>( \
117
- ExtFuncsPerContextT &Funcs) { \
117
+ ExtFuncsPerContextT & Funcs) { \
118
118
using FPtrT = t_pfx##INTEL_fn; \
119
- std::pair<FPtrT &, bool &> Ret{ \
120
- Funcs. t_pfx ##Func, Funcs. t_pfx ##Initialized}; \
119
+ std::pair<FPtrT &, bool &> Ret{Funcs. t_pfx ##Func, \
120
+ Funcs. t_pfx ##Initialized}; \
121
121
return Ret; \
122
122
}
123
123
124
124
#define _EXT_FUNCTION (t_pfx ) \
125
125
template <> \
126
126
std::pair<t_pfx##_fn &, bool &> get<t_pfx##Name, t_pfx##_fn>( \
127
- ExtFuncsPerContextT &Funcs) { \
127
+ ExtFuncsPerContextT & Funcs) { \
128
128
using FPtrT = t_pfx##_fn; \
129
- std::pair<FPtrT &, bool &> Ret{ \
130
- Funcs. t_pfx ##Func, Funcs. t_pfx ##Initialized}; \
129
+ std::pair<FPtrT &, bool &> Ret{Funcs. t_pfx ##Func, \
130
+ Funcs. t_pfx ##Initialized}; \
131
131
return Ret; \
132
132
}
133
133
0 commit comments