Shivangi Agarwal <shivangiagarwa...@gmail.com> writes:

> That is what I thought it was doing but for some reason, this call starts
> looking for the kernel with the name "_source" in the binary. When it
> throws an exception it gives me the error:
>
> "[XRT] ERROR: kernel '_source' not found"
>
>  we catch this error in our error messages. When I removed XRT error
> catching system (I changed the code to not give an error if the kernel name
> is _source), it goes into pyopencl and gives me the following error from
> L450:
>
> "'_source' was not found as a program info attribute or as a kernel name"

This is still odd to me. Could you try using

getattr(prg, "_source", None)

on the from-binary program to see if that produces an error? I just did
that with a program constructed from a binary, and I got no error. If
you do get an exception raised, then that would be a starting point to
investigating what is happening.

Andreas

Attachment: signature.asc
Description: PGP signature

_______________________________________________
PyOpenCL mailing list -- pyopencl@tiker.net
To unsubscribe send an email to pyopencl-le...@tiker.net

Reply via email to