mirror of
https://github.com/gpujs/gpu.js.git
synced 2026-01-25 16:08:02 +00:00
all tests but a couple to do with Floats running on chrome and firefox
This commit is contained in:
parent
fdf547cb80
commit
8d0145fb70
@ -5,7 +5,7 @@
|
||||
* GPU Accelerated JavaScript
|
||||
*
|
||||
* @version 1.0.0
|
||||
* @date Sat Feb 24 2018 19:31:19 GMT-0500 (EST)
|
||||
* @date Sat Feb 24 2018 22:03:16 GMT-0500 (EST)
|
||||
*
|
||||
* @license MIT
|
||||
* The MIT License
|
||||
|
||||
2
bin/gpu-core.min.js
vendored
2
bin/gpu-core.min.js
vendored
@ -5,7 +5,7 @@
|
||||
* GPU Accelerated JavaScript
|
||||
*
|
||||
* @version 1.0.0
|
||||
* @date Sat Feb 24 2018 19:31:19 GMT-0500 (EST)
|
||||
* @date Sat Feb 24 2018 22:03:16 GMT-0500 (EST)
|
||||
*
|
||||
* @license MIT
|
||||
* The MIT License
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
* GPU Accelerated JavaScript
|
||||
*
|
||||
* @version 1.0.0
|
||||
* @date Sat Feb 24 2018 19:31:20 GMT-0500 (EST)
|
||||
* @date Sat Feb 24 2018 22:03:16 GMT-0500 (EST)
|
||||
*
|
||||
* @license MIT
|
||||
* The MIT License
|
||||
@ -3484,6 +3484,7 @@ module.exports = function (_KernelBase) {
|
||||
}
|
||||
}
|
||||
} else if (names !== null) {
|
||||
result.push(' threadId = indexTo3D(index, uOutputDim)');
|
||||
result.push(' kernel()');
|
||||
result.push(' data0 = encode32(kernelResult)');
|
||||
for (var _i3 = 0; _i3 < names.length; _i3++) {
|
||||
|
||||
4
bin/gpu.min.js
vendored
4
bin/gpu.min.js
vendored
File diff suppressed because one or more lines are too long
1
dist/backend/web-gl/kernel.js
vendored
1
dist/backend/web-gl/kernel.js
vendored
@ -1073,6 +1073,7 @@ module.exports = function (_KernelBase) {
|
||||
}
|
||||
}
|
||||
} else if (names !== null) {
|
||||
result.push(' threadId = indexTo3D(index, uOutputDim)');
|
||||
result.push(' kernel()');
|
||||
result.push(' data0 = encode32(kernelResult)');
|
||||
for (var _i3 = 0; _i3 < names.length; _i3++) {
|
||||
|
||||
@ -1031,6 +1031,7 @@ module.exports = class WebGLKernel extends KernelBase {
|
||||
}
|
||||
}
|
||||
} else if (names !== null) {
|
||||
result.push(' threadId = indexTo3D(index, uOutputDim)');
|
||||
result.push(' kernel()');
|
||||
result.push(' data0 = encode32(kernelResult)');
|
||||
for (let i = 0; i < names.length; i++) {
|
||||
|
||||
@ -97,8 +97,7 @@ function addCustomFunction_thisOutputX(mode) {
|
||||
return custom_adder(a, b);
|
||||
}, {
|
||||
functions: [custom_adder],
|
||||
output : [6],
|
||||
debug: mode === 'cpu'
|
||||
output : [6]
|
||||
});
|
||||
|
||||
QUnit.assert.ok( f !== null, "function generated test");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user