Skip to content

pyopencl info: binary cache miss #619

Answered by hakonanes
Erlendos12 asked this question in Q&A
Discussion options

You must be logged in to vote

I see this myself sometimes, but it doesn't seem to affect performance. The radonSum kernel is a PyOpenCL kernel in PyEBSDIndex. As the info message says, there must be something in the kernel that takes a relatively long time to build. I haven't written anything for PyOpenCL to build before, so I cannot tell you what specifically causes the message. I believe the relevant code is here.

What's nice about logging is that the user can control which log messages from which libraries to show (see logging tutorial). You should be able to suppress the info message by setting PyOpenCL's logger level to warnings by something like:

import logging
logging.getLogger("pyopencl").setLevel(logging.WARNING

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Erlendos12
Comment options

@hakonanes
Comment options

@Erlendos12
Comment options

@hakonanes
Comment options

Answer selected by Erlendos12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants