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

Intel remarks not visible in Visual Studio 2008

k_ch_s
Beginner
255 Views
I have Intel C++ Compiler 11.1.054 integrated with Visual Studio 2008.
When I compile my sample code in console with icl.exe, I can see remarks like 'LOOP WAS VECTORIZED'. But in Visual Studio output they don't appear. But the thing is that I need them. I have flag /Qvec-report:3 set. the sample code is:
[bash]int foo()
{
  int a[64];

  int ret=0;

  for(int i=0;i<64;i++)
  {
    ret=a+a[i+1];
  }

  return ret;
}[/bash]

The output is:

1>------ Rebuild All started: Project: CSRMultiplication, Configuration: Release Win32 ------
1>Compiling with Intel C++ 11.1.054 [IA-32]... (Intel C++ Environment)
1>test.cpp
1>
1>.\\test.cpp(1) (col. 5): remark #1418: external function definition with no prior declaration
1>

Does anybody know why don't i have vectorization remarks in VS? Thanks in advance.
0 Kudos
0 Replies
Reply