We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78bd876 commit 6c6309eCopy full SHA for 6c6309e
sycl/test/usm/allocator_shared.cpp
@@ -34,7 +34,7 @@ int main() {
34
35
// Test construction
36
auto ptr2 = std::allocate_shared<int>(alloc, 42);
37
- assert(*ptr2 == 42);
+ assert((*ptr2 == 42) && "Host construct passed.");
38
}
39
40
if (dev.get_info<info::device::usm_shared_allocations>()) {
@@ -43,7 +43,7 @@ int main() {
43
44
45
46
+ assert((*ptr2 == 42) && "Shared construct passed.");
47
48
49
if (dev.get_info<info::device::usm_device_allocations>()) {
0 commit comments