全新的 Android L 64 位操作系统已于近日推出。 在本文中，我将向您展示如何利用英特尔® 线程构建模块（英特尔® TBB）轻松地开发面向 Android L 64 位架构的并行应用。 英特尔® TBB 是一个跨平台模板库，可用于创建并行程序。 它可以创建和同步数据流，同时隐藏架构详情，支持您在更高的抽象化水平上工作。 英特尔® TBB 可以在所有架构上运行。 对于 Android，请使用 4.3 及更高版本。
Recently, the new Android L 64-bit OS became available. In this paper I will show you how easy it is to develop parallel applications for Android L 64 bit with Intel® Threading Building Blocks (Intel® TBB). The Intel TBB is a cross-platform library of templates for creating parallel programs. It creates and synchronizes streams of data, hiding the details of the architecture and allowing you to work at a higher level of abstraction. Intel TBB works on all architectures. For Android, use version 4.3 and above.
Merge sort algorithm is a comparison-based sorting algorithm. In this sample, we use top-down implementation, which recursively splits list into two halves (called sublists) until size of list is 1. Then merge these two sublists and produce a sorted list. This sample could run in serial, or in parallel with Intel® Cilk™ Plus keywords cilk_spawn and cilk_sync. For more details about merge sort algorithm and top-down implementation, please refer to http://en.wikipedia.org/wiki/Merge_sort.
The Black-Scholes Equation estimates the price of a European option over time. The formula itself can be used in a number of ways, the most basic of which is to use the projected value to smartly hedge the option on its underlying asset. The simulation in this sample is vectorized with Intel® C++ autovectorization and parallelized with Intel Cilk™
SSCA, or Scalable Synthetic Compact Application, is a collection of kernels applied to a weighted, directed graph. The output of each kernel is the input to the next.
This sample demonstrates how to improve the performance of Sepia filter using Intel® Cilk™ Plus. To demonstrate the performance increase, you will use a program that converts a bitmap file from color image to a Sepia tone image. A Sepia tone image is monochromatic image with a distinctive Brown Gray color that provides a distinctive tone to a photograph when Black & White film was available. The program works by converting each pixel in the bitmap file to a Sepia tone.
The Mandelbrot set is a well known application of visual mathematics. It is a good example of simple math with complex (imaginary) numbers on a complex plane leading to visually impressive results. It works by keeping track of how many iterations of the equation
zn+1 = zn2 + c will occur before a complex number is no longer bound. This can go on forever, and the image generated is unique at every depth, but for the sake of running time there is usually a maximum depth that the iteration can occur.
The Intel Gaming and Graphics Samples team has just published another sample to coincide with one of our presentations
As part of our sponsored sessions, we had a presentation on using Intel Threading Building Blocks called Game Engine Tasking. It uses the concept of a task as found in TBB to enable better, more transparent scaling across available cores.
For my third blog entry on the Intel® Energy Checker SDK, I will take on a two-part DIY and super fun project. I always wanted to extend the use of the SDK into my home and be able to monitor my personal energy consumption. As an engineer, I live by the motto: “you cannot manage what you cannot measure”. Isn’t the electric bill all about that, one may ask? Sure, it is a good year-to-year and month-to-month trend indicator and it will likely fit the needs of most of us for a while. However, using my bill, I cannot break down my energy consumption per function.
- Página 1