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 e3f3bb6 commit 3677bbfCopy full SHA for 3677bbf
sycl/test/basic_tests/accessor/accessor.cpp
@@ -526,7 +526,12 @@ int main() {
526
});
527
528
529
- assert(data == 399);
+#ifndef simplification_test
530
+ auto host_acc = d.get_access<sycl::access::mode::read>();
531
+#else
532
+ sycl::host_accessor host_acc(d, sycl::read_only);
533
+#endif
534
+ assert(host_acc[0] == 399);
535
}
536
537
} catch (sycl::exception e) {
@@ -569,7 +574,12 @@ int main() {
569
574
570
575
571
576
572
577
578
579
580
581
582
573
583
584
585
0 commit comments