ID 553099 - BlinkScript kernel not compiling on GPU when floor() is called on an int

Follow

Problem summary
BlinkScript kernel not compiling on the GPU when floor() is called on an int

 

Customer reported version
nuke.n/a

 

Customer reported platform

 

Steps to reproduce

 

1) Launch Nuke

2) Create a BlinkScript node and replace the Kernel Source with the following code:

kernel TestKernel : ImageComputationKernel<ePixelWise>{  Image<eRead, eAccessRandom, eEdgeClamped> src;  Image<eWrite> dst; void process(int2 pos) {    int x = floor(pos.x);    SampleType(src) input = src(pos.x, pos.y);   dst() = input;  }};

 

3) Hit recompile and observe that it fails to compile on GPU, without reporting any useful error

4) If you disable Use GPU if available in the Kernel Parameters tab then the kernel compiles on the CPU without issue

 

Expected behaviour
For the kernel to compile on the GPU

 

Actual behaviour
It failed to compile on the GPU, with no useful error message:

 

Workaround
Disable Use GPU if available in the Kernel Parameters tab then the kernel compiles on the CPU without issue

 

Reproduced by support
This bug has been reproduced in:
Nuke 14.0v5 - Windows 10

Nuke 12.1v1 - Windows 10

Nuke 12.0v8 - Windows 10 *

Nuke 10.0v1 - Windows 10 *

 

* Before 12.1v1, Nuke gave a more helpful error message:

 

Also reproduced and confirmed by developers

 

Earliest version tested
Nuke 10.0v1 - This issue appears to be in all tested versions of the product

    We're sorry to hear that

    Please tell us why