As optix - https://developer.nvidia.com/optix is real time ray tracing rendering engine but it only works on CUDA, I want to implement real time ray tracing engine for games like which will work on consoles(ps4 and xbox) and pc. Is there any cross platform technology like CUDA that I can use on consoles and pc for real time ray tracing rendering ?
The technologies that I am aware of are (openCL, DirectCompute, OpenACC, C++ AMP) but these are not cross platform, some work on consoles and some work on pc.
How about C++ AMP and OpenACC. Can they run on consoles(xbox and ps4)?
So I am looking for a cross platform parallel programming solution which will work both on consoles and pc?