Skip to content

Commit f8fffae

Browse files
authored
SYCL backend updates for latest oneAPI release/2025.0.5 (#1815)
* Fixes for oneAPI-2025 * Neat fix for oneAPI 2025 * style changes
1 parent 297af36 commit f8fffae

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

backends/sycl/ceed-sycl-common.sycl.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
#include "ceed-sycl-common.hpp"
1010

11+
#include <sstream>
1112
#include <string>
1213
#include <sycl/sycl.hpp>
1314

backends/sycl/online_compiler.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class device_arch {
6363
class online_compile_error : public sycl::exception {
6464
public:
6565
online_compile_error() = default;
66-
online_compile_error(const std::string &Msg) : sycl::exception(Msg) {}
66+
online_compile_error(const std::string &Msg) : sycl::exception(make_error_code(errc::invalid), Msg) {}
6767
};
6868

6969
/// Designates a source language for the online compiler.

0 commit comments

Comments
 (0)