Skip to content

Commit

Permalink
Add __SYCL_DEVICE_ONLY__
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalint98 committed Nov 12, 2021
1 parent 46d6b3c commit 2cfa530
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/hipSYCL/sycl/libkernel/backend.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@

#ifdef HIPSYCL_LIBKERNEL_DEVICE_PASS
#define SYCL_DEVICE_ONLY
#ifndef __SYCL_DEVICE_ONLY__
#define __SYCL_DEVICE_ONLY__
#endif
#endif

#ifdef __clang__
Expand Down

0 comments on commit 2cfa530

Please sign in to comment.