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 c00c1fa commit e1e3962Copy full SHA for e1e3962
sycl/test/basic_tests/buffer/buffer.cpp
@@ -579,7 +579,8 @@ int main() {
579
580
{
581
std::allocator<float8> buf_alloc;
582
- cl::sycl::shared_ptr_class<float8> data(new float8[8]);
+ cl::sycl::shared_ptr_class<float8> data(new float8[8],
583
+ [](float8 *p) { delete[] p; });
584
cl::sycl::buffer<float8, 1, std::allocator<float8>>
585
b(data, cl::sycl::range<1>(8), buf_alloc);
586
}
0 commit comments