-
Notifications
You must be signed in to change notification settings - Fork 787
[SYCL] Move general language extensions to the ONEAPI namespace #2231
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
Changes from all commits
e0b8033
56bbbfa
16dbb8d
42c6c27
c7ce1d5
bd26c21
6308c5d
6207521
2fe18fe
13f08a0
4d30921
52e30f7
cd13ac5
3231a75
df2f889
a69b053
8f04df7
4877aad
f46ef3b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
//==---------------- atomic.hpp - SYCL_INTEL_extended_atomics --------------==// | ||
//==--------------- atomic.hpp - SYCL_ONEAPI_extended_atomics --------------==// | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we're changing the name of the extensions as well as the namespace they're in, I think we should really update the extension documentation. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok sure - but can that be a different PR? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fine by me, but I wanted to flag it somewhere. |
||
// | ||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | ||
// See https://llvm.org/LICENSE.txt for license information. | ||
|
@@ -8,7 +8,7 @@ | |
|
||
#pragma once | ||
|
||
#include <CL/sycl/intel/atomic_accessor.hpp> | ||
#include <CL/sycl/intel/atomic_enums.hpp> | ||
#include <CL/sycl/intel/atomic_fence.hpp> | ||
#include <CL/sycl/intel/atomic_ref.hpp> | ||
#include <CL/sycl/ONEAPI/atomic_accessor.hpp> | ||
#include <CL/sycl/ONEAPI/atomic_enums.hpp> | ||
#include <CL/sycl/ONEAPI/atomic_fence.hpp> | ||
#include <CL/sycl/ONEAPI/atomic_ref.hpp> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
intel::experimental::spec_constant
doesn't have an extension defined, and I think we might confuse developers if we start mixing extensions and non-extensions in the same namespace. As is,using sycl::ONEAPI
will import experimental functionality unexpectedly.Is there a reason not to keep this as
ONEAPI::experimental
after the rename? Otherwise I think somebody should define extensions for these things.Same comment applies to
intel::experimental::printf
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok. I'd prefer to make it ONEAPI::experimental over intel::experimental.