Skip to content

Commit d8d52fc

Browse files
committed
Better message
1 parent a1bed56 commit d8d52fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Src/amrexpr_Gpu.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,15 @@ void init_sycl (sycl::device& d, sycl::context& c, sycl::queue& q)
2727
sycl::device* getSyclDevice ()
2828
{
2929
AMREXPR_ALWAYS_ASSERT_WITH_MESSAGE(sycl_device,
30-
"init_sycl must be called to initialize"
30+
"amrexpr::Gpu::init_sycl must be called to initialize"
3131
"SYCL Device for SYCL backend");
3232
return sycl_device;
3333
}
3434

3535
sycl::context* getSyclContext ()
3636
{
3737
AMREXPR_ALWAYS_ASSERT_WITH_MESSAGE(sycl_context,
38-
"init_sycl must be called to initialize"
38+
"amrexpr::Gpu::init_sycl must be called to initialize"
3939
"SYCL Context for SYCL backend");
4040
return sycl_context;
4141
}

0 commit comments

Comments
 (0)