cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

shahzeb
Journeyman III

Optimize unity 3d games on openCL

I am currently working on unity 3d and got an idea to optimize it on opencl. So, is there any possibilty?? if it or not provide comprehensive detail.

0 Likes
2 Replies
tugrul_512bit
Adept III

Re: Optimize unity 3d games on openCL

Yes, I've done it for multi-gpu cube-collision detection handling in C#. It worked well, until I tried to add cluster PCs to it. It somehow stops local area connections but using opencl is absolutely easy.

API.png

here is a sum of squared differences optimization benchmark(mis-written the equation, it should have been ci = Sum((ai-bj)*(ai-bj)) for all j values which makes it O(N²)  complexity.

amd_bench_1.png

depending on the C#.Net version, speedup may be reduced to 50x or 20x (because some are really good optimized)

tugrul_512bit
Adept III

Re: Optimize unity 3d games on openCL

With the driver 17.4.4, I could manage to demonstrate the usage of two low-end GPUs to compute 57k-particle nbody kernel.

Performance aware OpenCL work partitioning in C# (with Unity Engine presentation) - YouTube