diff --git a/sycl/include/sycl/backend.hpp b/sycl/include/sycl/backend.hpp index 3facf40a2efe8..ff89a07a06cea 100644 --- a/sycl/include/sycl/backend.hpp +++ b/sycl/include/sycl/backend.hpp @@ -96,7 +96,7 @@ struct BufferInterop { GetNativeObjs(const std::vector &Handle) { ReturnType ReturnValue = 0; if (Handle.size()) { - ReturnValue = detail::ur::cast(Handle[0]); + ReturnValue = (ReturnType)(Handle[0]); } return ReturnValue; } diff --git a/sycl/test-e2e/EnqueueNativeCommand/custom-command-cuda.cpp b/sycl/test-e2e/EnqueueNativeCommand/custom-command-cuda.cpp index ff73a763b2dae..7afbaf7cc14ed 100644 --- a/sycl/test-e2e/EnqueueNativeCommand/custom-command-cuda.cpp +++ b/sycl/test-e2e/EnqueueNativeCommand/custom-command-cuda.cpp @@ -2,9 +2,6 @@ // RUN: %{run} %t.out // REQUIRES: cuda, cuda_dev_kit -// TODO: Reenable, see https://github.com/intel/llvm/issues/14598 -// UNSUPPORTED: windows, linux - #include #include diff --git a/sycl/test-e2e/EnqueueNativeCommand/custom-command-multiple-dev-cuda.cpp b/sycl/test-e2e/EnqueueNativeCommand/custom-command-multiple-dev-cuda.cpp index d4a1cb96101bc..2dc30b44bfe94 100644 --- a/sycl/test-e2e/EnqueueNativeCommand/custom-command-multiple-dev-cuda.cpp +++ b/sycl/test-e2e/EnqueueNativeCommand/custom-command-multiple-dev-cuda.cpp @@ -2,9 +2,6 @@ // RUN: %{build} -o %t.out %cuda_options // RUN: %{run} %t.out -// TODO: Reenable, see https://github.com/intel/llvm/issues/14598 -// UNSUPPORTED: windows - #include #include