Code Samples

Find code samples for your data center projects.


65 Search Results

Using Intel® Math Kernel Library Compiler Assisted Offload in Intel® Xeon Phi™ Processor

Introduction Beside native execution, another usage model of using the Intel® Math Kernel Library (Intel® MKL) on an Intel® Xeon Phi™ processor is the compiler assisted offload (CAO). The CAO usage model allows users to offload Intel MKL functions...

Improving Performance of Math Functions with Intel® Math Kernel Library

Introduction Intel® Math Kernel Library1 (Intel® MKL) is a product that accelerates math processing routines to increase the performance of an application when running on systems equipped with Intel® processors. Intel MKL includes linear algebra,...

Optimizing Computer Applications for Latency: Part 2: Tuning Applications

For applications such as high frequency trading (HFT), search engines and telecommunications, it is essential that latency can be minimized. My previous article Optimizing Computer Applications for Latency, looked at the architecture choices that...

BigDL: Distributed Deep Learning on Apache Spark*

As the leading framework for Distributed ML, the addition of deep learning to the super-popular Spark framework is important, because it allows Spark developers to perform a wide range of data analysis tasks—including data wrangling, interactive queries, and stream processing—within a single...

Profiling Tensorflow* workloads with Intel® VTune™ Amplifier

Machine learning applications are very compute intensive by their nature. That is why optimization for performance is quite important for them. One of the most popular libraries, Tensorflow*, already has an embedded timeline feature that helps...

Using Intel® MPI Library on Intel® Xeon Phi™ Product Family

This document is designed to help users get started writing code and running MPI applications using the Intel® MPI Library on a development platform that includes the Intel® Xeon Phi™ processor.

Installing and Building MXNet with Intel® MKL

The latest version of MXNet includes built-in support for the Intel® Math Kernel Library (Intel® MKL) 2017. The latest version of the Intel MKL includes optimizations for Intel® Advanced Vector Extensions 2 (Intel® AVX2) and AVX-512 instructions which are supported in Intel® Xeon® processor and...

Performance of Classic Matrix Multiplication Algorithm on Intel® Xeon Phi™ Processor System

Matrix multiplication (MM) of two matrices is one of the most fundamental operations in linear algebra. The algorithm for MM is very simple, it could be easily implemented in any programming language. This paper shows that performance significantly improves when different optimization techniques...

Fast memcpy using SPDK and Intel I-OAT

Fast memcpy with SPDK and Intel® I/OAT DMA Engine

The attached code sample compares memcpy and SKDK + Intel I/OAT DMA performance when moving different size data chunks in memory.

How to use the MPI-3 Shared Memory in Intel® Xeon Phi™ Processors

Code Sample included: Learn how to use MPI-3 shared memory feature using the corresponding APIs on the Intel® Xeon Phi™ processor.

BigDL – Scale-out Deep Learning on Apache Spark* Cluster

Learn how to install and use BigDL for training and testing some of the commonly used deep neural network models on Apache Spark.

ISA-L Erasure Coding

Code Sample: Intel® ISA-L Erasure Code and Recovery

Here is a code sample that will help you get started in reducing your storage application's latency with Intel ISA-L erasure coding, using Reed Solomon error correction.