Skip to content

Commit 649ead9

Browse files
authored
address build warning (#694)
1 parent d19b187 commit 649ead9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dpnp/backend/src/queue_sycl.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ static void show_available_sycl_devices()
7676
}
7777
#endif
7878

79+
#if defined(DPNP_LOCAL_QUEUE)
7980
static cl::sycl::device get_default_sycl_device()
8081
{
8182
int dpnpc_queue_gpu = 0;
@@ -94,6 +95,7 @@ static cl::sycl::device get_default_sycl_device()
9495

9596
return dev;
9697
}
98+
#endif
9799

98100
/**
99101
* Function push the SYCL kernels to be linked (final stage of the compilation) for the current queue

0 commit comments

Comments
 (0)