Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.

HPO Vectorizer Report

Jamil_A_
Beginner
404 Views

 

 Hi 

    I am using the following flags to track SIMD vectorisation

     -opt-report2 -opt-report-phase=hpo

     Is there a flag that will demangle the output from the Vectorizer report.  Example output below.

 Thanks

 Jamil

icc (ICC) 14.0.2 20140120
Copyright (C) 1985-2014 Intel Corporation.  All rights reserved.

HPO VECTORIZER REPORT (_ZN4zcfd18WallBoundaryHelper15getWallVelocityEiiRNS_13StorageVectorINS_6detail14VelocityTraitsILi3ELi3ELi3ENS_20MenterSSTTransPolicyIdLi0ELi3ELb0EEEEENS_10HostPolicyINS_13ArrayOfStructENS2_20HostDefaultAllocatorEEEEERNS_9ReferenceE) LOG OPENED ON Wed Apr 23 21:11:53 2014

<src/solver/WallBoundary.cxx;-1:-1;hpo_vectorization;_ZN4zcfd18WallBoundaryHelper15getWallVelocityEiiRNS_13StorageVectorINS_6detail14VelocityTraitsILi3ELi3ELi3ENS_20MenterSSTTransPolicyIdLi0ELi3ELb0EEEEENS_10HostPolicyINS_13ArrayOfStructENS2_20HostDefaultAllocatorEEEEERNS_9ReferenceE;0>
HPO Vectorizer Report (_ZN4zcfd18WallBoundaryHelper15getWallVelocityEiiRNS_13StorageVectorINS_6detail14VelocityTraitsILi3ELi3ELi3ENS_20MenterSSTTransPolicyIdLi0ELi3ELb0EEEEENS_10HostPolicyINS_13ArrayOfStructENS2_20HostDefaultAllocatorEEEEERNS_9ReferenceE)

src/solver/WallBoundary.cxx(244:17-244:17):VEC:_ZN4zcfd18WallBoundaryHelper15getWallVelocityEiiRNS_13StorageVectorINS_6detail14VelocityTraitsILi3ELi3ELi3ENS_20MenterSSTTransPolicyIdLi0ELi3ELb0EEEEENS_10HostPolicyINS_13ArrayOfStructENS2_20HostDefaultAllocatorEEEEERNS_9ReferenceE:  loop was not vectorized: nonstandard loop is not a vectorization candidate
/src/util/Storage.h(1094:5-1094:5):VEC:_ZN4zcfd18WallBoundaryHelper15getWallVelocityEiiRNS_13StorageVectorINS_6detail14VelocityTraitsILi3ELi3ELi3ENS_20MenterSSTTransPolicyIdLi0ELi3ELb0EEEEENS_10HostPolicyINS_13ArrayOfStructENS2_20HostDefaultAllocatorEEEEERNS_9ReferenceE:  OpenMP SIMD LOOP WAS VECTORIZED
OpenMP SIMD LOOP WAS VECTORIZED

0 Kudos
2 Replies
KitturGanesh
Employee
404 Views
Jamil, since you're particularly interested in vectorization per-se, you can actually use the option "-vec-report" where n controls the degree of reporting (you can check details using "icc -help reports |more") and use the -opt-report-file= to dump out the info into a file. You can gradually increase the value of n depending on what you need in the report (start with n=2 which will dump vectorized/non-vectorized loops) _kittur
0 Kudos
KitturGanesh
Employee
404 Views

Jamil, were you satisfied with the output with the suggested option earlier?

_Kittur

0 Kudos
Reply