(value)
| 159 | test('works with adding functions', () => { |
| 160 | const gpu = new GPU({ mode: 'dev' }); |
| 161 | function addOne(value) { |
| 162 | return value + 1; |
| 163 | } |
| 164 | gpu.addFunction(addOne); |
| 165 | const kernel = gpu.createKernel(function(value) { |
| 166 | return addOne(value); |
no outgoing calls
no test coverage detected
searching dependent graphs…