From 4b6ebdea17c8c929a8df1a248ac7e9119c1715ff Mon Sep 17 00:00:00 2001 From: Adarsh Yoga Date: Fri, 12 Apr 2024 16:02:37 -0500 Subject: [PATCH] change dpctl.asarray calls in dpcpp framework --- dpbench/infrastructure/frameworks/dpcpp_framework.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dpbench/infrastructure/frameworks/dpcpp_framework.py b/dpbench/infrastructure/frameworks/dpcpp_framework.py index 21b4c336..7c47fd12 100644 --- a/dpbench/infrastructure/frameworks/dpcpp_framework.py +++ b/dpbench/infrastructure/frameworks/dpcpp_framework.py @@ -59,7 +59,7 @@ def _copy_to_func_impl(ref_array): else: order = "K" return dpt.asarray( - obj=ref_array, + ref_array, dtype=ref_array.dtype, device=self.sycl_device, copy=None,