@@ -240,7 +240,7 @@ cpdef create_program_from_source(SyclQueue q, str src, str copts=""):
240
240
Note: This function is currently only supported for the OpenCL backend.
241
241
242
242
Parameters:
243
- q (SyclQueue)
243
+ q (:class:`dpctl. SyclQueue` )
244
244
The :class:`dpctl.SyclQueue` for which the
245
245
:class:`.SyclProgram` is going to be built.
246
246
src (str)
@@ -250,7 +250,7 @@ cpdef create_program_from_source(SyclQueue q, str src, str copts=""):
250
250
when compiling the program. Default: ``""``.
251
251
252
252
Returns:
253
- program (SyclProgram)
253
+ program (:class:`. SyclProgram` )
254
254
A :class:`.SyclProgram` object wrapping the
255
255
``sycl::kernel_bundle<sycl::bundle_state::executable>``
256
256
returned by the C API.
@@ -285,7 +285,7 @@ cpdef create_program_from_spirv(SyclQueue q, const unsigned char[:] IL,
285
285
from an compiled SPIR-V binary file.
286
286
287
287
Parameters:
288
- q (SyclQueue)
288
+ q (:class:`dpctl. SyclQueue` )
289
289
The :class:`dpctl.SyclQueue` for which the
290
290
:class:`.SyclProgram` is going to be built.
291
291
IL (bytes)
@@ -295,8 +295,8 @@ cpdef create_program_from_spirv(SyclQueue q, const unsigned char[:] IL,
295
295
when compiling the program. Default: ``""``.
296
296
297
297
Returns:
298
- program (SyclProgram)
299
- A :class:`SyclProgram` object wrapping the
298
+ program (:class:`. SyclProgram` )
299
+ A :class:`. SyclProgram` object wrapping the
300
300
``sycl::kernel_bundle<sycl::bundle_state::executable>``
301
301
returned by the C API.
302
302
0 commit comments