@@ -35,7 +35,7 @@ namespace detail {
3535inline constexpr size_t MaxNumAdditionalArgs = 13 ;
3636constexpr static int AccessTargetMask = 0x7ff ;
3737
38- void addArgsForGlobalAccessor (detail::Requirement *AccImpl, size_t Index,
38+ inline void addArgsForGlobalAccessor (detail::Requirement *AccImpl, size_t Index,
3939 size_t &IndexShift, int Size,
4040 bool IsKernelCreatedFromSource, size_t GlobalSize,
4141 std::vector<detail::ArgDesc> &Args,
@@ -69,7 +69,7 @@ void addArgsForGlobalAccessor(detail::Requirement *AccImpl, size_t Index,
6969 }
7070}
7171
72- void addArgsForLocalAccessor (detail::LocalAccessorImplHost *LAcc, size_t Index,
72+ inline void addArgsForLocalAccessor (detail::LocalAccessorImplHost *LAcc, size_t Index,
7373 size_t &IndexShift, bool IsKernelCreatedFromSource,
7474 std::vector<detail::ArgDesc> &Args, bool IsESIMD) {
7575 using detail::kernel_param_kind_t ;
@@ -102,7 +102,7 @@ void addArgsForLocalAccessor(detail::LocalAccessorImplHost *LAcc, size_t Index,
102102 }
103103}
104104
105- void processArg (
105+ inline void processArg (
106106 void *Ptr, const kernel_param_kind_t &Kind, const int Size,
107107 const size_t Index, size_t &IndexShift, bool IsKernelCreatedFromSource,
108108 bool IsESIMD, NDRDescT NDRDesc,
@@ -276,7 +276,7 @@ void processArg(
276276 }
277277}
278278
279- void validateDynamicParameterGraphState (bool QueueHasCommandGraph,
279+ inline void validateDynamicParameterGraphState (bool QueueHasCommandGraph,
280280 bool IsGraphSubmission) {
281281 if (QueueHasCommandGraph) {
282282 throw sycl::exception (
@@ -290,7 +290,7 @@ void validateDynamicParameterGraphState(bool QueueHasCommandGraph,
290290 }
291291}
292292
293- void extractArgsAndReqsFromLambda (
293+ inline void extractArgsAndReqsFromLambda (
294294 char *LambdaPtr, detail::kernel_param_desc_t (*ParamDescGetter)(int ),
295295 size_t NumKernelParams, bool IsESIMD, bool QueueHasCommandGraph,
296296 bool IsGraphSubmission, detail::NDRDescT NDRDesc,
@@ -355,7 +355,7 @@ void extractArgsAndReqsFromLambda(
355355 }
356356}
357357
358- void extractArgsAndReqs (
358+ inline void extractArgsAndReqs (
359359 bool IsKernelCreatedFromSource, detail::NDRDescT NDRDesc,
360360 std::vector<std::pair<
361361 ext::oneapi::experimental::detail::dynamic_parameter_impl *, int >>
0 commit comments