Professors

Offload pointer in struct

Hello,

I'm new to MIC programming, so this is probably a silly question, but I've searched and could not find a solution.

I have a struct with a pointer in it and I want to offload that pointer (the array) to MIC. AFAIK, I can't offload the whole struct, because it's not bitwise copyable. But I was hoping I could offload just the pointer, as a normal array. Below is a minimal example, which segfaults. What am I doing wrong?

As a side question, what are my options if I need to copy the whole struct?

Enabling HEVC with Intel® Media Server Studio-Professional Edition

                                                                

HEVC is an exciting, cutting-edge, and highly efficient, new video compression technology enabling the next generation of digital media applications, products and services. Intel is at the forefront of this revolution, leading with technologies for transitioning to HEVC technology.

  • Developers
  • Partners
  • Professors
  • Students
  • Linux*
  • Microsoft Windows* 8.x
  • Intel H.265/HEVC; Media Server Studio - Professional;Intel Media Server Studio; Media SDK HEVC
  • Data Center
  • Graphics
  • Media Processing
  • MODULEFILE creation the easy way

    If you use Environment Modules  (from Sourceforge, SGI, Cray, etc) to setup and control your shell environment variables, we've created a new article on how to quickly and correctly create a modulefile.  The technique is fast and produces a correct modulefile for any Intel Developer Products tool.

    The article is here:  https://software.intel.com/en-us/articles/using-environment-modules-with-the-intel-compiler

     

    Why does scif_register() return 0?

    Hi, All.

    My team is trying to transfer bulk data between host and mic using SCIF RMA. All our demo code works fine. When we add the SCIF RMA to the real project, it connects successfully but it gets return 0 from scif_register() and scif_vwriteto() failed error.We have checked so many times. The code we are inserting is exactly the same with the demo code which works fine. 

    Did anyone encounter such problem when using scoff rma? Or would you please offer some advice?

    Thanks a lot:)

    Bryan

     

    Don’t make these 4 common developer mistakes

    Don’t make these 4 common developer mistakes

    After hours of coding, countless sleepless nights, a lot of excitement and maybe a little frustration, you’re finally ready to release your app. After a few weeks, you realise it’s not performing as well as you’d hoped it would – only a few people have downloaded it and you’re not getting the best feedback.

    Poor perfomance of FFT on the mic

    Hello,

    I would like to share my short experience with Xeon Phi and hope that the performance can be improved.

    My program solves a problem similar to the heat equation. Each iteration contains 3 Fourier transforsm and 2 simple  matrix operation (N operations). I wrote a omp program using fftw library. In order to run using mkl library I compiled the wrappers which are provided with the compiler with libmic option.

    How do I easily upgrade the RPMs installed on the Phi

    Hi all,

    I just saw the hotfixes released for mpss 3.[345].  Currently I've got a few RPMs from the mpss-<VERSION>-k1om.tar package installed on my Phi's and I am wondering what the best upgrade path for those is. I'm using

    $  cat /etc/mpss/conf.d/rpm.conf
    Overlay rpm /var/mpss/rpm on
    
    

    and install the RPMs in /var/mpss/rpm using trial and error - that is, I have to figure out the RPM dependencies by looking at whether they install on the Phi.

    Quick Installation Guide for Media SDK on Windows with Intel® INDE

    Intel® INDE provides a comprehensive toolset for developing Media applications targeting both CPU and GPUs, enriching the development experience of a game or media developer. Yet, if you got used to work with the legacy Intel® Media SDK or if you just want to get started using those tools quickly, you can follow these steps and install only the Media SDK components of Intel® INDE.

    Go to the Intel® INDE Web page, select the edition you want to download and hit Download link:

  • Developers
  • Professors
  • Students
  • Android*
  • Apple iOS*
  • Apple OS X*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8.x
  • Game Development
  • Windows*
  • C/C++
  • Java*
  • Advanced
  • Beginner
  • Intermediate
  • Intel® INDE
  • Media Client Solutions
  • Media SDK for Windows*
  • Media for Mobile
  • mediasdk
  • Media for Mobile
  • Media RAW Accelerator
  • Microsoft DirectX*
  • Development Tools
  • Game Development
  • Graphics
  • Microsoft Windows* 8 Desktop
  • OpenCL will not install!!!

    So I downloaded the OpenCL driver for Windows 7 64bit and also for my i7-4790k with Hd 4600 Graphics. When I go to install it a little window pops up and says my pc does not meet minimum requirements. 

     

    Specs: 

    System CPU : I7-4790K @ Stock, CPU Cooler: Noctua NH-D15, Motherboard: Asus Sabertooth Mark 2, RAM: 16 GB G.Skill Sniper Series @ 1866MHz, GPU: GeForce GTX 980 ACX 2.0, Storage: Samsung 120GB 840 EVO, WD Cavier Black 1TB, Psu: Corsair HX 750w, Case: Fractal Design r4 Black Pearl Window, OS: Windows 7 64bit Home Premium

    Subscribe to Professors