Skip to content

Commit 377945b

Browse files
committed
Merge branch 'free_funtion_kernel_work_group_memory_parameter' of https://github.com/lbushi25/llvm into free_funtion_kernel_work_group_memory_parameter
2 parents 98186a5 + ca4b228 commit 377945b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/include/sycl/handler.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
//===----------------------------------------------------------------------===//
88

99
#pragma once
10+
1011
#include <sycl/access/access.hpp>
1112
#include <sycl/accessor.hpp>
1213
#include <sycl/context.hpp>
@@ -625,6 +626,7 @@ class __SYCL_EXPORT handler {
625626

626627
template <typename T> void setArgHelper(int ArgIndex, T &&Arg) {
627628
void *StoredArg = storePlainArg(Arg);
629+
628630
if (!std::is_same<cl_mem, T>::value && std::is_pointer<T>::value) {
629631
addArg(detail::kernel_param_kind_t::kind_pointer, StoredArg, sizeof(T),
630632
ArgIndex);

0 commit comments

Comments
 (0)