dcp-worker 3.3.12-0 → 3.3.12-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,9 @@ const evaluatorId = 'webgpuCheck';
13
13
 
14
14
  async function eval$$webgpu()
15
15
  {
16
+ if (typeof initWebGPU === 'function')
17
+ await initWebGPU();
18
+
16
19
  if (!(typeof globalThis.navigator?.gpu === 'object'))
17
20
  return { enabled: false };
18
21
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dcp-worker",
3
- "version": "3.3.12-0",
3
+ "version": "3.3.12-1",
4
4
  "description": "Node.js Worker for Distributive Compute Platform",
5
5
  "main": "bin/dcp-worker",
6
6
  "keywords": [
@@ -40,7 +40,7 @@
40
40
  "blessed": "^0.1.81",
41
41
  "blessed-contrib": "4.11.0",
42
42
  "chalk": "^4.1.0",
43
- "dcp-client": "4.4.11-0",
43
+ "dcp-client": "4.4.11-1",
44
44
  "kvin": "^1.2.7",
45
45
  "posix-getopt": "^1.2.1",
46
46
  "semver": "^7.3.8",