Skip to content

Commit 20b6f79

Browse files
committed
Add device and sycl_queue keyword arguments to random calls
1 parent 1a9c152 commit 20b6f79

File tree

6 files changed

+407
-121
lines changed

6 files changed

+407
-121
lines changed

dpnp/backend/kernels/dpnp_krnl_arraycreation.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2016-2023, Intel Corporation
2+
// Copyright (c) 2016-2022, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without

dpnp/backend/src/dpnpc_memory_adapter.hpp

-3
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@
3030
#include "queue_sycl.hpp"
3131
#include "dpnp_utils.hpp"
3232

33-
static_assert(__SYCL_COMPILER_VERSION >= __SYCL_COMPILER_VERSION_REQUIRED,
34-
"The compiler does not meet minimum version requirement");
35-
3633
/**
3734
* @ingroup BACKEND_UTILS
3835
* @brief Adapter for the memory given by parameters in the DPNPC functions

dpnp/backend/src/queue_sycl.cpp

-3
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@
3131
#include "queue_sycl.hpp"
3232
#include "dpnp_utils.hpp"
3333

34-
static_assert(__SYCL_COMPILER_VERSION >= __SYCL_COMPILER_VERSION_REQUIRED,
35-
"The compiler does not meet minimum version requirement");
36-
3734
#if defined(DPNP_LOCAL_QUEUE)
3835
sycl::queue* backend_sycl::queue = nullptr;
3936
#endif

0 commit comments

Comments
 (0)