With Float and UInt32 being cuda arrays.
But I get the following error: Unable to cast Python instance of type <class 'enoki.cuda_autodiff.Mask'> to C++ type 'bool'
It seems like pybind doesn't choose the correct overloaded method. Am I missing something?
Basically, I want to do this kind of computation:
With Float and UInt32 being cuda arrays. But I get the following error:
Unable to cast Python instance of type <class 'enoki.cuda_autodiff.Mask'> to C++ type 'bool'
It seems like pybind doesn't choose the correct overloaded method. Am I missing something?