Skip to content

[SYCL] Half type in global scope #1651

Closed
@Ruyk

Description

@Ruyk

The line below:

using half = cl::sycl::detail::half_impl::half;

defines Half type in global scope, but that is not required by the SYCL specification. Is there any reason this is there?

It causes conflicts with CUDA headers, which define also the half type in global scope.

Metadata

Metadata

Assignees

Labels

cudaCUDA back-end

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions