Skip to content

[SYCL] Move the SYCL_EXT_ONEAPI_SRGB macro to feature_test.hpp.in #5051

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 Dec 3, 2021
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions sycl/include/CL/sycl/feature_test.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ namespace sycl {
#define SYCL_EXT_ONEAPI_ND_RANGE_REDUCTIONS 1
#define SYCL_EXT_ONEAPI_DEFAULT_CONTEXT 1
#define SYCL_EXT_ONEAPI_USE_PINNED_HOST_MEMORY_PROPERTY 1
#define SYCL_EXT_ONEAPI_SRGB 1
#define SYCL_EXT_ONEAPI_SUB_GROUP 1
#define SYCL_EXT_INTEL_BF16_CONVERSION 1
#define SYCL_EXT_INTEL_BITCAST 1
Expand Down
3 changes: 0 additions & 3 deletions sycl/include/CL/sycl/image.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@
#include <cstddef>
#include <sycl/ext/oneapi/accessor_property_list.hpp>

// sRGB Extension Support
#define SYCL_EXT_ONEAPI_SRGB 1

__SYCL_INLINE_NAMESPACE(cl) {
namespace sycl {

Expand Down