Skip to content

Conversation

@umar456
Copy link
Member

@umar456 umar456 commented Feb 17, 2020

  • Avoid releasing symbol manager. Let OS release resources
  • Does not affect leak sanitizer
  • Use static instead of thread local to avoid loading the library
    multiple times

@umar456 umar456 force-pushed the unified_static branch 2 times, most recently from 4cd6714 to a09959c Compare February 18, 2020 00:57
* Avoid releasing symbol manager. Let OS release resources
* Does not affect leak sanitizer
* Use static instead of thread local to avoid loading the library
  multiple times
* Move activeBackend and activeHandle out of symbol manager since
  AFSymbolManager is a singleton class now. It didn't make sense
  to have those variables in there anyway because they do not do
  anything with the symbols. Added multi-threaded tests to make
  sure expected behavior when switching backends
@umar456 umar456 merged commit 70a8051 into arrayfire:master Feb 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants