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 cba22d4 commit c096d26Copy full SHA for c096d26
sycl/test-e2e/FreeFunctionKernels/usm_compatibility.cpp
@@ -39,7 +39,7 @@ int main() {
39
// Check that device type of USM allocation is supported inside free function
40
// kernel.
41
{
42
- int *HostDataPtr = new int[NumOfElements];
+ int HostDataPtr[NumOfElements];
43
constexpr int ExpectedResultValue = 111;
44
int *DeviceDataPtr = sycl::malloc_device<int>(NumOfElements, Queue);
45
sycl::kernel UsedKernel = getKernel<ns::nsNdRangeFreeFunc>(Context);
0 commit comments