Skip to content

[SYCL][NFC] Remove dead code #230

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 0 additions & 10 deletions sycl/include/CL/sycl/detail/common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,16 +103,6 @@ template <class T> T createSyclObjFromImpl(decltype(T::impl) ImplObj) {
return T(ImplObj);
}

#ifdef __SYCL_DEVICE_ONLY__
// The flag type for passing flag arguments to barrier(), mem_fence(),
// read_mem_fence(), and write_mem_fence() functions.
typedef uint cl_mem_fence_flags;

const cl_mem_fence_flags CLK_LOCAL_MEM_FENCE = 0x01;
const cl_mem_fence_flags CLK_GLOBAL_MEM_FENCE = 0x02;
const cl_mem_fence_flags CLK_CHANNEL_MEM_FENCE = 0x04;
#endif // __SYCL_DEVICE_ONLY__

} // namespace detail
} // namespace sycl
} // namespace cl