Skip to content

Commit 629d0e0

Browse files
Update dpnp/backend/kernels/dpnp_krnl_random.cpp
Co-authored-by: Oleksandr Pavlyk <[email protected]>
1 parent b29d957 commit 629d0e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpnp/backend/kernels/dpnp_krnl_random.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1691,7 +1691,7 @@ DPCTLSyclEventRef dpnp_rng_shuffle_c(DPCTLSyclQueueRef q_ref,
16911691
{
16921692
// Multidimensional ndarrays require a bounce buffer.
16931693
size_t step_size = (size / high_dim_size) * itemsize; // size in bytes for x[i] element
1694-
void* buf = sycl::malloc_device<void *>(step_size, q);
1694+
void* buf = sycl::malloc_device(step_size, q);
16951695
for (size_t i = uvec_size; i > 0; i--)
16961696
{
16971697
size_t j = (size_t)(floor((i + 1) * Uvec[i - 1]));

0 commit comments

Comments
 (0)