Quantcast
Channel: Intel® Software - Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1175

-qopt-malloc-option=(n) not being recognized in Intel Compiler 19.0

$
0
0

System: macOS 10.14 (Mojave)

Chip Family: Skylake, Core i7

Intel Compiler Version: v19.0

I'm having an issue compiling a program using the -qpot-malloc-options flag icpc is stating that it does not recognize it, and so ignoring it. The program contains quite a few malloc statements (with the required headers) and so an alternative malloc algorithm would help improve performance. The code compiles successfully with other flags not ignored, such as -qopt-prefetch. 

The compile command that includes the malloc is given as follows: 

icpc -std=c++17 -O3 -qopt-malloc-options=4 kdtreetest kdtreetest.cpp kdtree.cpp

Hopefully I'm just missing something small...!

Appreciate the help in advance. 


Viewing all articles
Browse latest Browse all 1175


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>