Skip to content

Commit 4656feb

Browse files
committed
add bool DPCTLKernelBundle_CreateFromSYCLSource_Available to header
1 parent 570802b commit 4656feb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

libsyclinterface/include/syclinterface/dpctl_sycl_kernel_bundle_interface.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,16 @@ void DPCTLKernelBuildLog_Delete(__dpctl_take DPCTLKernelBuildLogRef Ref);
246246
DPCTL_API const char *
247247
DPCTLKernelBuildLog_Get(__dpctl_keep DPCTLKernelBuildLogRef);
248248

249+
/*!
250+
* @brief Return True if the DPCTLKernelBundle_CreateFromSYCLSource function is
251+
* available, else False.
252+
*
253+
* @ingroup KernelBundleInterface
254+
*/
255+
256+
DPCTL_API
257+
bool DPCTLKernelBundle_CreateFromSYCLSource_Available();
258+
249259
/*!
250260
* @brief Create a SYCL kernel bundle from an SYCL kernel source string.
251261
*

0 commit comments

Comments
 (0)