I want to examine the contents of a std::vector in gdb but I don't have access to _M_impl because I'm using icc, not gcc, how do I do it? Let's say it's a std::vector for the sake of simplicity.
There is a very nice answer here but this doesn't work if I use icc, the error message is "There is no member or method named _M_impl". There a...
First, I would like to say I'm not an image processing specialist.
I would like to convert image colorspace from one to another, and change icc color profile at the same time. I managed to do it using JMagick (the ImageMagick Java port), but no way in pure Java (even using JAI).
...
I installed the combined package of ICC 11.0.066 for x86 & x64 targets, with all options (IPP, TBB, MKL). Attempting to run the uninstaller from Control Panel > Programs and Features immediately errors out with the dialog:
Another instance of uninstall was launched.
Please wait while it is finished ...
This happens after having a...
I am trying to compile OpenCV with icc on Linux, in order to profile the execution with intel tools.
I installed the last version of icc with default options. I tried both "user" (icc is installed in my home) and "sudo" (icc is intalled in /opt) installs. The version of icc is 11.1 20090630
I also thought to source iccvars.sh, adding n...
Suppose I have an RAII-style C++ class:
class StateSaver
{
public:
StateSaver(int i) { saveState(); }
~StateSaver() { restoreState(); }
};
...to be used like so in my code:
void Manipulate()
{
StateSaver save(1);
// ...do stuff that modifies state
}
...the goal being to enter some state, do stuff, then leave that sta...
Hi,
I have a tool which manipulates images at runtime as part of my web app.
This generally works fine, but with the release of Firefox 3.5 we're seeing some colour problems. I believe this is because Firefox 3.5 now supports embedded ICC colour profiles where no other browsers do.
In order to achieve consistency of display, I'd like...
I want to disable remark "LOOP WAS VECTORIZED" written by Intel compiler.
But I don't want to disable optimazation.
What do I need to do?
...
Does the following tool accurately display a submitted images color profile?
Note this question is extended from here.
...
Considering that you're trying solely to optimize for speed, what are good heuristics for deciding whether to inline a function or not? Obviously code size should be important, but are there any other factors typically used when (say) gcc or icc is determining whether to inline a function call? Has there been any significant academic wor...
If I have a multi-processor board that has cache-coherent non-uniform memory access ( NUMA ), i.e. separate "northbridges" with separate RAM for each processor, does any compiler know how to automatically spread the data across the different memory systems such that processes working on local threads are mostly retrieving their data from...
I have an SWF file with only vector illustrations in it (no bitmaps). Is there a way to improve colour consistency across different monitors?
Colour management is a very complex topic and the more I read about it the more confused I become. There's this thing called ICC profiles which are supposed to convert colours into device indepen...
How can I define russian strings in Intel C Compiler?
In MSVS 2008 I do so:
_wsetlocale(LC_ALL, L"Russian");
wprintf(L"текст");
And it works.
In ICC in doesn't work.
...
Hi all,
I'm interested in knowing how GCC differs from Intel's ICC in terms of the optimization levels and catering to specific processor architecture. I'm using GCC 4.1.2 20070626 and ICC v11.1 for Linux.
How does ICC's optimization levels (O1 to O3) differ from GCC, if they differ at all?
The ICC is able to cater specifically to dif...
The project I'm working with is compiled with GCC 3.4.2. I'm considering switching to a newer compiler. However, the project is at a stage where we're not making any big changes if the risks aren't well known.
What sort of problems can I expect when switching compilers?
What benefits does GCC 4.x give over GCC 3.4.2?
What benefits...
How do I prevent a race condition WITHOUT locking or using mutexes/semaphors in C++? I'm dealing with a nested for loop in which I will be setting a value in an array:
for (int i = 0; i < m; ++i)
for (int j = 0; j < n; ++j)
for (int k = 0; k < o; ++k)
array[k] += foo(...);
More or less, I want to deal with this so that I c...
I seem to be having a problem with a macro that I have defined in a C program.
I compile this software and run it sucessfully with the MIPS compiler.
It builds OK but throws the error "Segmentation fault" at runtime when using icc.
I compiled both of these on 64 bit architectures (MIPS on SGI, with -64 flag and icc on an intel platfor...
Hi!
I'm working on a ia64-machine using ICC 11.1. The following program compiles nicely:
#include <pthread.h>
#include <iostream>
using namespace std;
int main()
{
cout << PTHREAD_STACK_MIN << '\n';
return 0;
}
When I compile it with icc test.cpp -o test
BUT when I change the contents of the file to to:
#include <pthread.h>
...
Windows 7 seems to unload my monitor's color profile and fall back to some default one whenever certain things happen on the computer. It can be fixed by going into Control Panel, opening the Color Management application and twiddling the ICC profiles (changing the default profile to some other one and then switching it back to my own). ...
Im running CF9 and just learned that CF9's CFIMAGE tag does not support ICC Profiles, which makes the "capability" pretty worthless on the Mac, which adds ICC Profiles to all screengrabs.
has anyone else run into this. Is there a work around or solution to support ICC profiles? Telling the users images w/o ICC profiles are supported is ...
I have a C-code for parallel computing written for gcc, and I want to compile it on a cluster, which apparently uses icc via mpicc. Correcting the code to be icc-friendly seems to be too time-demanding, so I wonder if I can ask OpenMPI to use gcc instead. I don't have the admin rights on that cluster, and I would actually prefer to do no...