Skip to content
Merged
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/accessor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ template <typename... Ts>
void cannot_be_called_on_host([[maybe_unused]] const char *API,
Ts &&.../* ignore */) {
#ifndef __SYCL_DEVICE_ONLY__
std::fprintf(stderr, "%s cannot be called on host!\n", API);
std::cerr << API << " cannot be called on host!" << std::endl;
std::abort();
#endif
}
Expand Down