[IE CLDNN] Build time optimization for OCL kernels#4725
Conversation
d2b8612 to
2dec624
Compare
2dec624 to
b59d461
Compare
|
@ababushk Hi Andrey, this patch is adding tbb thread on cldnn code, but seems that cldnn unittest job is not loading tbb library. Could you please add tbb path to LD_LIBRARY_PATH for the environment of that job? |
3507246 to
d737a08
Compare
7b15775 to
44e4ca9
Compare
|
@vladimir-paramuzov Having two versions of threads : thread pool + tbb, we have a concern of management. How do you think remove threadpool path and go only with tbb? |
|
@yeonbok CI environment fix was merged to master, please make some new commits to your PR for changes to be propagated |
…e structure is no longer needed)
…e parallel OCL build
* Add IE Config for n_threads * Use IE Config n_threads in kernel_cache * Change default value of KEY_CLDNN_MAX_NUM_THREADS * set n_threads as 1 if concurrency returns 0 * Update error message
a40c6cf to
f67409f
Compare
2e49ebc to
a8c5e7d
Compare
| ///< (switched off for older drivers then NEO). | ||
| uint16_t n_streams; ///< Number of queues executed in parallel | ||
| const std::string kernels_cache_path; ///< Path to compiled kernels cache | ||
| uint16_t n_threads; ///< Number of threads used to build program |
There was a problem hiding this comment.
I suppose it makes sense to align this comment as others.
| while (true) { | ||
| std::unique_lock<std::mutex> lock(this->_q_m); | ||
| _cv.wait(lock, [this]() { return (!this->_tasks.empty()) || (_stop_pool); }); | ||
| if ( (_stop_pool) && (this->_tasks.empty())) return; |
There was a problem hiding this comment.
Please remove extra space before break.
007cf68 to
53ccea8
Compare
…e updated default n_threads (prev:2 => now:max)
53ccea8 to
6909d7d
Compare
Details:
Tickets: