Skip to content
Closed
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
2 changes: 1 addition & 1 deletion sycl/include/sycl/detail/ur.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ template <class To, class From> To cast(From value);
template <class To, class From> inline To cast(From value) {
// TODO: see if more sanity checks are possible.
static_assert(sizeof(From) == sizeof(To), "assert: cast failed size check");
return reinterpret_cast<To>(value);
return (To)(value);
}

// Helper traits for identifying std::vector with arbitrary element type.
Expand Down
3 changes: 0 additions & 3 deletions sycl/test-e2e/EnqueueNativeCommand/custom-command-cuda.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cuda.h>

#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 <cuda.h>

#include <iostream>
Expand Down
Loading