Code Sample

Intel® Software Guard Extensions Tutorial Series: Part 8, GUI Integration

In Part 8 we integrate the GUI with the back end. We examine implications of mixing managed code with enclaves and how to mitigate the potential for undermining security gained from Intel® SGX.
  • Microsoft Windows* 10
  • Microsoft Windows* 8.x
  • Business Client
  • Windows*
  • Intermediate
  • Intel® Software Guard Extensions (Intel® SGX)
  • Security
  • License Agreement: 

    在英特尔® 至强融核™ 协处理器上微调矢量化和内存流量:对小型矩阵进行 LU 分解

    Common techniques for fine-tuning the performance of automatically vectorized loops in applications for Intel® Xeon Phi™ coprocessors are discussed. These techniques include strength reduction, regularizing the vectorization pattern, data alignment and aligned data hint, and pointer disambiguation.
  • Professional
  • Professors
  • Students
  • Linux*
  • Modern Code
  • C/C++
  • Advanced
  • Intermediate
  • Intel® Streaming SIMD Extensions
  • Education
  • Intel® Many Integrated Core Architecture
  • Parallel Computing
  • Vectorization
  • BigDL:一种面向 Apache Spark* 的分布式深度学习库

    深度学习作为分布式机器学习的主要框架,将其添加至颇为常用的 Spark 框架具有重要意义,有助于 Spark 开发人员在单个框架内处理各种数据分析任务—包括数据处理、交互式查询和数据流处理。BigDL 提供三个重要特性,分别是丰富的深度学习支持、较高的单节点至强性能以及利用 spark 架构实现高效的横向扩展。
  • Artificial Intelligence
  • Big Data
  • Machine Learning
  • Recipe: Building and Running MILC on Intel® Xeon® Processors and Intel® Xeon Phi™ Processors

    MILC software represents a set of codes written by the MIMD Lattice Computation collaboration used to study quantum chromodynamics, the theory of the strong interactions of subatomic physics. This article provides instructions for code access, build, and run directions for the “ks_imp_rhmc” application on Intel® Xeon® processors and Intel® Xeon Phi™ processors.
  • Professional
  • Professors
  • Students
  • Linux*
  • Intel® MPI Library
  • Intel® Omni-Path Host Fabric Interface
  • Intel® Advanced Vector Extensions (Intel® AVX)
  • OpenMP*
  • Intel® Many Integrated Core Architecture
  • Optimization
  • Vectorization
  • Installing and Building MXNet with Intel® MKL

    The latest version of MXNet includes built-in support for the Intel® Math Kernel Library (Intel® MKL) 2018. 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 Intel® Xeon Phi™ processors.
  • Artificial Intelligence
  • Intel® Math Kernel Library
  • Machine Learning
  • 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 framework. Three important features offered by BigDL are rich deep learning support, High Single Node Xeon Performance, and Efficient scale-out leveraging Spark architecture.
  • Artificial Intelligence
  • Intermediate
  • BigDL
  • Big Data
  • Machine Learning
  • What to Do When Auto-Vectorization Fails?

    This article completes an analysis of a problem erroneously reported on the Intel® Developer Zone forum: Vectorization failed because of unsigned integer? It provides a more detailed examination showing that unsigned integer is not impacting compiler vectorization but what methodology to use when a modern C/C++ compiler fails to auto-vectorize for-loops.
  • Professional
  • Professors
  • Students
  • Linux*
  • Microsoft Windows* 10
  • Microsoft Windows* 8.x
  • Modern Code
  • Server
  • C/C++
  • Advanced
  • Intel® C++ Compiler
  • Debugging
  • Optimization
  • Parallel Computing
  • Vectorization
  • Unreal Engine* 4: 设置 Destructive Mesh

    The following is a quick guide on getting a PhysX* Destructible Mesh (DM) working setup in an Unreal Engine* 4 (UE4*) project. This guide is primarily based on personal trial and error; other methods may exist that work better for your project. See official documentation for tutorials on fracturing and troubleshooting if you would like to go more in depth with Destructive Mesh capabilities.
  • Game Development
  • Unreal Engine* 4: 制定布料模拟 CPU 优化蓝图

    Realistic cloth movement can bring a great amount of visual immersion into a game. Using PhysX* Clothing* is one way to do this without the need of hand animating. Incorporating these simulations into Unreal Engine* 4 is easy, but as it is a taxing process on the CPU, it’s good to understand their performance characteristics and how to optimize them.
  • Game Development
  • Resetting the lowest n set bits

    Already a couple of years ago, the Bit Manipulation Instruction Set 1 (BMI1) introduced the instruction BLSR, which resets the lowest bit that is set. (The corresponding intrinsic _blsr_u32/64 wraps this instruction with some nice C/C++ function call syntax.) However, what are your options when you not only want to delete one bit, but a given number of bits n? This blog presents multiple variations of this theme including a performant implementation.

    Subscribe to Code Sample