OptiX 4.0.0 bug - Assertion failed: !verifyFunction

Glad to see the new version! However, I get an error as soon as I try to launch a kernel.

The following appears in my command line:

Instruction does not dominate all uses!
  %"%r632.0.reload.10" = load i32* %"%r632.0.ptr.10"
  %r.i563.remat.10 = add i32 %"%r632.0.reload.10", 1
Instruction does not dominate all uses!
  %"%r632.0.reload.11" = load i32* %"%r632.0.ptr.11"
  %r.i563.remat.11 = add i32 %"%r632.0.reload.11", 1
Broken module found, verification continues.

After which rtContextGetErrorString produces this message:

Unknown error (Details: Function "_rtContextLaunch2D" caught exception: Assertion failed: "!verifyFunction( *m_function, VerifierFailureAction::PrintMessageAction )", file:C:\u\workspace\goldenrod-win64-build\sw\wsapps\raytracing\rtsdk\playpen\goldenrod\src\ExecutionStrategy\Megakernel\StateFunctionTransform.cpp, line: 210)

I’ve sent an OptiX API capture to the help email account.

Windows 7, Quadro K4000, driver 362.13, OptiX 4.0.0 beta 1, CUDA Toolkit 7.5.

Hi nljones,

thanks for testing the beta, and thanks for the bug report! :)
We believe we have a fix which will be included in the next release.

Thanks,
Ralf