Cycles: Fixed oneAPI build on Windows
Turns out uint wasn't defined this early in our kernels on Windows. Using unsigned int instead should fix this.
This commit is contained in:
@@ -192,9 +192,9 @@ ccl_device_forceinline float __uint_as_float(uint x)
|
||||
{
|
||||
return sycl::bit_cast<float>(x);
|
||||
}
|
||||
ccl_device_forceinline uint __float_as_uint(float x)
|
||||
ccl_device_forceinline unsigned int __float_as_uint(float x)
|
||||
{
|
||||
return sycl::bit_cast<uint>(x);
|
||||
return sycl::bit_cast<unsigned int>(x);
|
||||
}
|
||||
ccl_device_forceinline float __int_as_float(int x)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user