Compiler-Themen
Offload Runtime for the Intel(R) Xeon Phi(TM) Coprocessor
Lizenzvertrag:
Step by Step Performance Optimization with Intel® C++ Compiler
Generally speaking, there are 6 steps for the performance optimization with Intel® C++ Compiler.
Using Intel® C++ Compiler for Embedded System
The Intel® C++ Compiler, also known as icc, is a high performance compiler which lets you build and optimize your C/C++ applications for the Linux* based operating system. The Intel® C++ compiler provides complete supports for various embedded Linux* system. With multiple features of Intel® C++ compiler, you can easily start to use icc for new project developing, or migrate the existing project from GNU compiler.
lmgrd: No such file or directory
When starting the Intel® Software License Manager on Linux you may encounter the following:
-bash: ./lmgrd: No such file or directory
or
-bash: ./lmgrd: /lib64/ld-lsb-x86-64.so.3: bad ELF interpreter: No such file or directory
VecAnalysis Python* Script for Annotating Intel C++ & Fortran Compilers Vectorization Reports
This is the Python* script used to annotate Intel® C++ and Fortran compiler 13.1 (Intel® C++/Fortran/Visual Fortran Composer XE 2013 Update 2 and later) vectorization reports produced at -vec-report7. The attached zip file contains:
- vecanalysis.py
- vecmessages.py
- README-vecanalysis.txt
NOTE: You will need Python* version 2.6.5 or higher. For more information, and download instructions please click here.
Don't explicitly search VC++ include directory for include files by using /I option
Intel compiler searches user specified include directories, then Intel include directories, and finally Microsoft* VC++ include directories. If you explicitly add /I$(VCInstallDir)\include either in Visual Studio IDE or in command line, Intel compiler will search VC++ include directories first. As a result, you may see some error messages like this:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xmmintrin.h(58): error #2277: invalid definition of __m128; use #include "xmmintrin.h" instead
Android开发中的多线程编程技术
多线程这个令人生畏的“洪水猛兽”,很多人谈起多线程都心存畏惧。在Android开发过程中,多线程真的很难吗?多线程程序的“麻烦”源于它很抽象、与单线程程序运行模式不同,但只要掌握了它们的区别,编写多线程程序就会很容易了。下面让我们集中精力开始学习吧!
多线程案例——计时器
我在给我的学生讲多线程的时候都会举一个计时器的案例,因为计时器案例是多线程的经典应用。
这个案例中,屏幕启动之后,进入如图8-1所示的界面。
屏幕上有一个文本框用于显示逝去的时间,此外还有一个“停止计时”按钮。案例的用例图如图8-2所示。

▲图8-1 计时器界面
Методика портирования приложений NDK Android*
Общие сведения
Это руководство поможет разработчикам портировать существующие приложения NDK для платформы ARM* на платформу x86. Если у вас уже есть действующее приложение, и нужно понять, как скоро можно будет представить это приложение на сайте Android* Market для устройств x86, то в этом документе вы найдете необходимые сведения, чтобы приступить к работе. Также здесь предоставляются советы и методики устранения проблем при компиляции в ходе портирования.
