Open colorao opened 2 years ago
If using .setGraphical(false) , a warning appears ("Falling back to GPU") It is odd because false is the default value.... Is this behavior normal?
Everytime I use setGraphical
` const gpu = new GPU({ mode: 'gpu' }); const imageKernel = gpu.createKernel(function(img) { return [0,0,0]; }).setOutput([oImage.width , oImage.height]);
// Uncomment this line to trigger the warning. // imageKernel.setGraphical(false); let out = imageKernel(oImage); console.log(out);
`
Really don't know
No warning displayed
What is wrong?
If using .setGraphical(false) , a warning appears ("Falling back to GPU") It is odd because false is the default value.... Is this behavior normal?
Where does it happen?
Everytime I use setGraphical
How do we replicate the issue?
` const gpu = new GPU({ mode: 'gpu' }); const imageKernel = gpu.createKernel(function(img) {
return [0,0,0]; }).setOutput([oImage.width , oImage.height]);
`
How important is this (1-5)?
Really don't know
Expected behavior (i.e. solution)
No warning displayed
Other Comments