Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logging mechanism #1

Open
kknox opened this issue Aug 14, 2013 · 1 comment
Open

Add logging mechanism #1

kknox opened this issue Aug 14, 2013 · 1 comment
Milestone

Comments

@kknox
Copy link
Contributor

kknox commented Aug 14, 2013

Incorporate logger functionality that creates a human readable text file with all clBLAS function calls and all parameter values logged. This gives users visibility to which clBLAS functions are called and how many times. The library should allow for multiple levels of logging; one level that only logs API calls, then extra verbosity levels that also log warnings, errors and optimization hints.

@kknox
Copy link
Contributor Author

kknox commented Aug 14, 2013

Noting that this comment is an implementation detail, I believe that the logging mechanism should exist in a separate library. The clBLAS library should attempt to dynamically load ( i.e. with ::LoadLibrary() ) the logging library in its current directory on clBLAS startup. If the logger library exists, it is loaded and a log file is created in the current directory; otherwise if the logging library is not found then logging is disabled.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant