40 Commits

Author SHA1 Message Date
Nick Hingston
462e4d510f auto check if integer division bug exists 2018-07-26 09:05:08 +01:00
Nick Hingston
98e1bf7688 fix integer division issues on some cards 2018-07-25 18:14:06 +01:00
Robert Plummer
b7e9dfc47b Fix unit test, and bump release numbers 2018-07-12 16:29:36 -04:00
Nick Hingston
b3000f07c9 use ints for addressing - now supports up to 2^31 2018-07-05 21:07:42 +01:00
Robert Plummer
27772251f6 Some related changes to #243 that make index selection based off the actual argument and not the kernel size
some cleanup to system I noticed along the way
2018-06-29 18:42:44 -04:00
Robert Plummer
439af19982 add states tracking, and cleanup script. Almost all unit tests passing now with inputs. 2018-06-27 14:11:26 -04:00
Robert Plummer
cde8eab625 #243 Some unit tests, not totally done, but at least x, and x & y. Z is failing. 2018-06-22 15:56:23 -04:00
Robert Plummer
a0b80970ff maintenance, cleanup of usage of funcParam. No need, we are using this. 2018-06-21 22:34:24 -04:00
Robert Plummer
80e4440f17 maintenance, cleanup 2018-06-21 22:05:39 -04:00
Robert Plummer
ac89e00b8e fix #313 and add unit test 2018-06-12 13:57:47 -04:00
Robert Plummer
bd2885085a Implement (slightly broken) api usage of:
```js
var imageKernel = gpu.createKernel(function(image) {
  const pixel = image[this.thread.y][this.thread.x];
  this.color(pixel[0], pixel[1], pixel[2], pixel[3]);
}, {
  debug: true,
  output : [276, 183],
  graphical: true
});
```
2018-06-02 15:17:35 -04:00
Robert Plummer
cac049f287 fix #222 provide debugger support for node fallback and passive on others
Also, I got tired of typing commands for building, so I added on to npm scripts, `npm make`
2017-11-11 08:41:30 -05:00
Robert Plummer
4b15eea5b3 fix #220 with unit tests
I was able to unify the FunctionNodeBase.astMemberExpressionUnroll for reuse in both CPU and WebGL kernels.  So I refactored for simplification.
2017-11-08 16:16:15 -05:00
Robert Plummer
881de164cc Implement #191 2017-09-29 14:01:24 -04:00
Robert Plummer
d81271fb6b #58
Strict mode blows up on safari because jison has inline functions defined, this removes jison in favor of acorn
Yay! Less technical debt!
2017-07-21 18:22:32 -04:00
Abhishek Soni
fdc4665eb2 beautify code 2017-07-14 00:43:00 +05:30
Robert Plummer
3bca99f142 Add strict use 2017-07-10 15:12:09 -04:00
Abhishek Soni
3bbb4a9af2 Fix member definitions to seperate static members 2017-07-05 00:48:04 +05:30
Abhishek Soni
5d7b83106a builder-base, node-base done 2017-07-03 17:51:59 +05:30
Abhishek Soni
8f7a93c59f @function 2017-07-03 15:07:54 +05:30
Abhishek Soni
c57c076ef9 @param paramType paramName JSDoc syntax 2017-07-03 14:14:38 +05:30
Abhishek Soni
d13abcbed8 formatting of properties 2017-07-03 01:05:57 +05:30
Abhishek Soni
09d457c2a6 @returns 2017-07-03 00:53:20 +05:30
Abhishek Soni
88fd43fb07 @constructor and @param formatting 2017-07-03 00:29:01 +05:30
Abhishek Soni
105e0e1e7c @param partially done 2017-07-02 23:49:07 +05:30
Abhishek Soni
5492604408 Class and function names done 2017-07-02 22:44:15 +05:30
Abhishek Soni
a118dd3ae9 ran it, removed it 2017-07-02 18:24:08 +05:30
Eugene Cheah
f14dd0eedb Packages namespace cleanup, preparation for GPUCore reduced build. 2017-07-02 12:54:34 +08:00
Abhishek Soni
da6d82bcba Internal Documentation: base classes, webgl, cpu 2017-06-29 14:34:32 +05:30
Robert Plummer
439969aeba fixed #96
added test and added null checks
2017-06-27 10:49:07 -04:00
Robert Plummer
7b0874b763 #95 add constants fixes, and simplify options usage via instantiation 2017-06-27 08:21:14 -04:00
Robert Plummer
ec053cd127 #91 Add null checks, return all values, and to test-all.html 2017-06-26 17:21:41 -04:00
Robert Plummer
612725be5c #91 add in super basic param type checking in added functions 2017-06-26 16:59:55 -04:00
Robert Plummer
fee38b9148 cleanup and mostly solves #72 2017-06-09 10:40:31 -04:00
Robert Plummer
8b51a91ba9 closer to having multiple outputs and some correction of architecture naming 2017-06-02 21:02:56 -04:00
Robert Plummer
8cea15c815 near poc #84 2017-05-28 11:38:17 -04:00
Robert Plummer
acc3651f17 put last test back online, and add the ability to pass in object to declare param names and what the function returns 2017-05-16 22:07:39 -04:00
Robert Plummer
3d2da05809 update documentation to be more es6y, update QUnit usage, and handle #31 correctly 2017-05-16 10:40:10 -04:00
Eugene Cheah
60b8a877ee ran gulp beautify 2017-05-14 18:42:59 +08:00
Robert Plummer
e1ed6f9070 more cleanup, the GPU namespace changed to "WebGL" 2017-05-12 21:15:25 -04:00