A member with in-class initializer must be const. What?
I have explicitly enabled C++0x support in my project (latest C++ composer version) and I'm getting the above error. What is going on? The code I'm using isstatic bimap<string, Type> typeNames =...
View ArticleCompiling qhull
Dear all,I'm trying to compiler qhull http://www.qhull.org/. I edited the makefileby specifying CC = icc and CXX = icpc, I've thought it was enough.However the compilation fails. There are an...
View ArticleMeasuring the overhead of gettimeofday()
Hi,I wrote the following small program to measure the overhead of gettimeofday() on my platform.#include <stdio.h> #include <sys/time.h> int main(void) { const size_t num_syscalls =...
View Article[OMP Target] Difference in mapping of global arrays (malloc vs static)
There are 2 ways to have a global array: Use a pointer and malloc, or just define it as an array:#omp declare target int gArray[10]; int* gVals /*somewhere later:*/ = malloc(10*sizeof(int)); #omp end...
View ArticleIntel Parallel Studio 2011, Intel C++ Compiler v12 on VS2013
Hi This is a rather odd question, I am currently writing a indy game, many moons ago I forked out the cash to buy the Intel Parallel Studio suite, at the time I was working in the HPC sector, and today...
View ArticleRecipe: Building and Optimizing the Hogbom Clean Benchmark for Intel® Xeon...
OverviewThis article provides a recipe for compiling and running the Hogbom Clean benchmark for the Intel® Xeon Phi™ coprocessor and discusses the various optimizations applied to the code....
View Article-ip option
Is it OK that the code compiled with -ip option is incompatible with the code compiled without -ip?
View Articlebraced-init-list in ranged for loop is not supported (C++11)?
Hi, according C++11 specification (in my case I refer to draft n3376) the following 'for' construction is valid:#include <iostream> int main(void) { for (auto x : { 0, 1, 2 }){ std::cout <<...
View ArticleOpenMP or optimization changed from 13.xxx to 14.0.2.176
Dear Experts in OpenMP and Intel C 14.x ,Until version 13.x of Intel C I had the following code :static int fobj_offset(int m, double *a, double *fun) { int n = npivot; double *p =...
View ArticleOpenMP 4.0 target directives
I tried to get an OpenMP 4.0 test case to run where the code calls a user library that is compiled for host and mic (-mmic)The host library is in current directory (pwd), the MIC lib is in pwd/mic and...
View ArticleMapping between instrinsics and assembly code
I'm using unaligned and aligned load intrinsics in my code and ICC does not behave as I expect it to. If this is expected behavior, can somebody educate me on why?The fundamental problem is I expect...
View ArticleOpen Source Downloads
This article makes available third-party libraries, executables and sources that were used in the creation of Intel® Software Development Products or are required for operation of those. Intel provides...
View ArticleSome projects can't compile when using C++ Composer XE 2015 beta
Hello,Tried the newest Intel C++ Composer XE 2015 Pre-Release beta. (2015.0.0.30)I can successfully compile most projects without issue.but I got an error on some projects:3>xilink: : error #10037:...
View ArticleA member with in-class initializer must be const. What?
I have explicitly enabled C++0x support in my project (latest C++ composer version) and I'm getting the above error. What is going on? The code I'm using isstatic bimap<string, Type> typeNames =...
View ArticleCompiling qhull
Dear all,I'm trying to compiler qhull http://www.qhull.org/. I edited the makefileby specifying CC = icc and CXX = icpc, I've thought it was enough.However the compilation fails. There are an...
View ArticleMeasuring the overhead of gettimeofday()
Hi,I wrote the following small program to measure the overhead of gettimeofday() on my platform.#include <stdio.h> #include <sys/time.h> int main(void) { const size_t num_syscalls =...
View Article[OMP Target] Difference in mapping of global arrays (malloc vs static)
There are 2 ways to have a global array: Use a pointer and malloc, or just define it as an array:#omp declare target int gArray[10]; int* gVals /*somewhere later:*/ = malloc(10*sizeof(int)); #omp end...
View ArticleIntel Parallel Studio 2011, Intel C++ Compiler v12 on VS2013
Hi This is a rather odd question, I am currently writing a indy game, many moons ago I forked out the cash to buy the Intel Parallel Studio suite, at the time I was working in the HPC sector, and today...
View ArticleRecipe: Building and Optimizing the Hogbom Clean Benchmark for Intel® Xeon...
OverviewThis article provides a recipe for compiling and running the Hogbom Clean benchmark for the Intel® Xeon Phi™ coprocessor and discusses the various optimizations applied to the code....
View Article-ip option
Is it OK that the code compiled with -ip option is incompatible with the code compiled without -ip?
View Article