4 ms·
Is that improvement caused because the program is automatically parallelized or because the code is compiled/JITed? A x150 improvement is too much, so I suspect
by gus_massa 4y ago
Is that improvement caused because the program is automatically parallelized or because the code is compiled/JITed? A x150 improvement is too much, so I suspect both reasons collaborate to get it.
- inconceivable 4y agothey say the example i used is JIT compiled into machine code. i haven't looked into the codebase yet but i presume that means it just un-pythons it back into C? not sure. fwiw, i tried the gpu target (cuda) and it was faster than vanilla, but slower than accelerated cpu target by about 4x.
- gus_massa 4y agoHow does it compare with numba? (I don't know enough about the python ecosystem, but I have to tweak code from one of my coworkers and he uses numba.)