Skip to content

Commit 6fc1e26

Browse files
oleksandr-pavlykndgrigorian
authored andcommitted
Edits per PR review
1 parent 214b61f commit 6fc1e26

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dpctl/program/_program.pyx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ cpdef create_program_from_source(SyclQueue q, str src, str copts=""):
240240
Note: This function is currently only supported for the OpenCL backend.
241241
242242
Parameters:
243-
q (SyclQueue)
243+
q (:class:`dpctl.SyclQueue`)
244244
The :class:`dpctl.SyclQueue` for which the
245245
:class:`.SyclProgram` is going to be built.
246246
src (str)
@@ -250,7 +250,7 @@ cpdef create_program_from_source(SyclQueue q, str src, str copts=""):
250250
when compiling the program. Default: ``""``.
251251
252252
Returns:
253-
program (SyclProgram)
253+
program (:class:`.SyclProgram`)
254254
A :class:`.SyclProgram` object wrapping the
255255
``sycl::kernel_bundle<sycl::bundle_state::executable>``
256256
returned by the C API.
@@ -285,7 +285,7 @@ cpdef create_program_from_spirv(SyclQueue q, const unsigned char[:] IL,
285285
from an compiled SPIR-V binary file.
286286
287287
Parameters:
288-
q (SyclQueue)
288+
q (:class:`dpctl.SyclQueue`)
289289
The :class:`dpctl.SyclQueue` for which the
290290
:class:`.SyclProgram` is going to be built.
291291
IL (bytes)
@@ -295,8 +295,8 @@ cpdef create_program_from_spirv(SyclQueue q, const unsigned char[:] IL,
295295
when compiling the program. Default: ``""``.
296296
297297
Returns:
298-
program (SyclProgram)
299-
A :class:`SyclProgram` object wrapping the
298+
program (:class:`.SyclProgram`)
299+
A :class:`.SyclProgram` object wrapping the
300300
``sycl::kernel_bundle<sycl::bundle_state::executable>``
301301
returned by the C API.
302302

0 commit comments

Comments
 (0)