3 ms·
But you still don't get any control over memory layout of your data and how allocations are performed and this could easily cost you an order of magnitude in pe
by kgabis 10y ago
But you still don't get any control over memory layout of your data and how allocations are performed and this could easily cost you an order of magnitude in performance.
- TeMPOraL 10y agoTrue, at least without using any vendor-specific extensions (that may or may not help here; I haven't investigated). My point was that in CL, you get close-to-C++ performance levels by default, you can get even closer by optimizing specific areas in your code, and all of that while still writing in a very high-level language. Of course you won't beat memory-optimized C++ code in performance, but you're already close enough that you rarely need to.