Skip to content

Commit d9c0790

Browse files
Fix docstring of create_program_from_spirv
This addresses issue pointed out by @ndgrigorian during PR review
1 parent 49af3aa commit d9c0790

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dpctl/program/_program.pyx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,15 +276,15 @@ cpdef create_program_from_spirv(SyclQueue q, const unsigned char[:] IL,
276276
"""
277277
Creates a Sycl interoperability program from an SPIR-V binary.
278278
279-
We use the ``DPCTLKernelBundle_CreateFromOCLSpirv()`` C API function to
279+
We use the :c:func:`DPCTLKernelBundle_CreateFromOCLSpirv` C API function to
280280
create a ``sycl::kernel_bundle<sycl::bundle_state::executable>`` object
281281
from an compiled SPIR-V binary file.
282282
283283
Parameters:
284284
q (SyclQueue): The :class:`SyclQueue` for which the
285285
:class:`SyclProgram` is going to be built.
286-
IL (const char[:]) : SPIR-V binary IL file for an OpenCL program.
287-
copts (unicode) : Optional compilation flags that will be used
286+
IL (bytes) : SPIR-V binary IL file for an OpenCL program.
287+
copts (str) : Optional compilation flags that will be used
288288
when compiling the program.
289289
290290
Returns:

0 commit comments

Comments
 (0)