-
Notifications
You must be signed in to change notification settings - Fork 69
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
Namespace for half data type: cl::sycl or no namespace? #40
Comments
So I think the only way is to have either The last one seems to be the more logical to me since we are mimicking a type that does exist only in OpenCL. |
It seems to me that right now spec requires to do the opposite thing:
|
SYCL working group: The specification currently lists There are also other types in the same table that are not fundamental types so we will look into these internally. |
Discussed during 2020/02/18 meeting
Related to KhronosGroup/SYCL-CTS#37 |
SYCL WG: |
Mar 24: |
wait CTS already testing half in SYCL namespace |
half is not a C++ native type but an additional SYCL scalar data type. This should close KhronosGroup#40
KhronosGroup/SYCL-Docs#40 fix was submitted.
Khronos SYCL-CTS validates that SYCL implementation defines
half
data type incl::sycl
space, although it's not clearly stated in the spec that this type must be defined.Here is all the relevant references in the spec regarding
half
data type.Should we extend the Table 4.93 with
half
data type?half
data type is mentioned inNOTE: it's not clear here whether
half
is expected to be defined incl::sycl
namespace or not. It doesn't seem so as this list includes C++ fundamental types, which are not incl::sycl
namespace.cl::sycl
namespace is not mentioned here neither.Here it seems like this time must be defined in the global namespaces as the rest of the C++ built-in scalar types.
The text was updated successfully, but these errors were encountered: