Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
Updated 4/11/2018
Here's my experience of installing the NVIDIA CUDA kit 9.0 on a fresh install of Ubuntu Desktop 16.04.4 LTS.
| function WorkerPool(url) { | |
| this.url = url; | |
| this.pool = []; | |
| } | |
| WorkerPool.prototype.getWorker = function() { | |
| var w; | |
| if (this.pool.length > 0) { | |
| w = this.pool.pop(); | |
| } else { | |
| w = new Worker(this.url); |