Skip to content

Commit fa563c2

Browse files
committed
inline dummy_fn
1 parent f640e40 commit fa563c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test/syclcompat/launch/launch_inlining.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace sycl_intel_exp = sycl::ext::intel::experimental;
3434
static constexpr int LOCAL_MEM_SIZE = 1024;
3535

3636
template <typename T>
37-
T dummy_fn(T input){
37+
__syclcompat_inline__ T dummy_fn(T input){
3838
return -input;
3939
}
4040

0 commit comments

Comments
 (0)