Run a C++ code in GPU - Iphone and Android -
i have c++ code , execute c++ code in ios device ( ipad) takes around 1 sec execution time. need increase performance of code running in gpu.
is possible run particular c++ code in gpu? if possible can list out steps run c++ code in gpu? main aim increase performance of current c++ code 1 sec milliseconds.
cpus , gpus far distinct happen. on cpu, accustomed few large cores each executing thread, while gpu has hundreds or thousands of smaller cores require different programming.
your problem takes 1 second needs "embarrasingly parallel" cores cannot communicate can calculate, gpu gains lost if there need synchronization , cross-core communication.
and unless have intel 8008 cpu , nvidia 680 gpu, 1 second of cpu stuff won't magically turn few milliseconds gpu.
ios doesn't support anyway. create shaders calculations far more complex, less elegant, , slower.
Comments
Post a Comment