Share 
Follow 
AboutDownloadsDocumentsForumsWikiIssuesNews
Date:
2014-03-07 04:04
Priority:
3
State:
Open
Submitted by:
John Chodera (jchodera)
Assigned to:
Nobody (None)
Summary:
Suppress OpenCL callback warnings if Context is created with suppress=True flag

Detailed description
Here's an idea: What about adding another optional argument to Context called suppress_warnings, with default value False? Setting this to True would use a different callback function for OpenCL that silently handles the callback without printing the error.

The fallback context creation procedure works really well except for inundating the terminal with these OpenCL error messages. If we just had a way to suppress these, that would be splendid!

See also https://github.com/SimTk/openmm/issues/257

Add A Comment: Notepad

No Comments Have Been Posted

No Changes Have Been Made to This Item

Feedback