Skip to content

Commit

Permalink
OpenCL: replace thread_local with a resource pool. (#516)
Browse files Browse the repository at this point in the history
* opencl: replace thread_local with a resource pool.

* Local variables clean-up.

* clang-format with -style=google

* Removing compiler warnings.

* Local variables naming fix.

* Removed a no longer used mutex.

* Fix XgemmBatched/Xgemv for retrieving wavefront size.

* Fixing OpenCLBuffers ctor (const ref).

* Fixing OpenCLComputation ctor (const ref).
  • Loading branch information
frpays authored and mooskagh committed Nov 17, 2018
1 parent 7253664 commit 9a578b7
Show file tree
Hide file tree
Showing 6 changed files with 544 additions and 490 deletions.
1 change: 1 addition & 0 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,7 @@ if get_option('build_backends')
opencl_files = [
'src/neural/opencl/OpenCL.cc',
'src/neural/opencl/OpenCLTuner.cc',
'src/neural/opencl/OpenCLBuffers.cc',
'src/neural/opencl/network_opencl.cc',
]

Expand Down
Loading

0 comments on commit 9a578b7

Please sign in to comment.