MGfoundation / mgcpp

A C++ Math Library Based on CUDA

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Improve or review the current context_manager implementation

Red-Portal opened this issue · comments

Improve or review the current context_manager implementation

context_manager is a global singleton locked with a mutex.
I'm afraid the mutex will critically harm scaling under highly parallel context.
Profiling the context_manager's scaling factor is required.
And possible removing the mutex in some way.