all tests but a couple to do with Floats running on chrome and firefox

This commit is contained in:
Robert Plummer 2018-02-24 22:03:58 -05:00
parent fdf547cb80
commit 8d0145fb70
7 changed files with 9 additions and 7 deletions

View File

@ -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
View File

@ -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

View File

@ -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

File diff suppressed because one or more lines are too long

View File

@ -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++) {

View File

@ -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++) {

View File

@ -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");