ID 448363 - BlinkScript - Creating unsigned variables using "uint" throws an error when GPU acceleration is enabled

Follow

Problem summary
BlinkScript - Creating unsigned variables using "uint" throws an error when GPU acceleration is enabled. 


Customer reported version
Nuke 12.2v2


Customer reported platform
CentOS 7


Steps to reproduce


1) This issue can be reproduced with the example files found here:

http://www.nukepedia.com/blink/image/cell-noise 


2) Open Nuke and create a BlinkScript node.


3) Ensure that the "Use GPU if available" knob is checked on the BlinkScript node (under the Kernel Parameters tab).


4) Open the "Kernel File" file browser and select one of the example files. For example "CellNoise_Worley_001.cpp"


5) Click the "Load" button and the following error should appear:

Error compiling kernel: Error compiling kernel for GPU


Expected behaviour
The kernel should successfully compile.


Actual behaviour
The kernel does not compile and Nuke throws the following error:

Error compiling kernel: Error compiling kernel for GPU


Workaround
Add the following to the beginning of the BlinkScript:

#define uint unsigned int 

Alternatively, you can uncheck the "Use GPU if available" knob on the BlinkScript node.


Reproduced by support

This bug has been reproduced in:
Nuke 12.2v2 - Windows 10 - Linux CentOS 7 

Nuke 12.1v1 - Windows 10 - Linux CentOS 7 - Regression


Unable to reproduce bug in:
Nuke 12.0v7 - Windows 10 - Linux CentOS 7


Earliest version tested
Nuke 12.0v7
- This issue doesn't appear in this version and has regressed


    We're sorry to hear that

    Please tell us why