OpenCL*

OpenCL™ Code Analyzer in Intel® INDE Update 2

The new OpenCL™ Code Anlayzer, a feature of Intel® INDE OpenCL™ Code Builder, adds performance analysis capabilities integrated in your Microsoft Visual Studio* OpenCL development environment.

With this new feature, previously in preview, the OpenCL Code Builder now supports each state of the OpenCL code development, enables you to carry on performance optimizations in each step of the development from build, to debug, and to tuning and get the best out of Intel® Graphics Compute capabilities.

Intel provides new Integrated OpenCL development experience

OpenCL support at Intel is now going mainstream with full integration into Intel’s portfolio of software development suites. The Intel® SDK for OpenCL™ Applications features are now integrated into various development tools under a new name of OpenCL™ Code Builder.

The different solutions are tailored to the target development environments:

Visual Studio 2012 express edition and INDE unresolved LNK2019

  1. Hi all,

    I've installed Visual Studio 2012 express edition under Windows7 64-bit and installed Intel INDE Starter edition with code_builder_5.1.0.25.
    Next I opened a Visual Studio x64 command prompt, which points initially to "C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC", changed
    directory to "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC" and ran VCVARSALL.BAT. Without this it would not find <iostream> etc.

OpenCL Sandy Bridge CPU driver and khr_gl_sharing

Is there a opencl 1.2 CPU driver for a "Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz" that support khr_gl_sharing with the HD2000 GPU?
If I install the OpenCL™ Runtime 15.1 I get a opencl 1.2 cpu driver but it has no khr_gl_sharing

The opencl 1.1 cpu driver that comes with the graphics driver does support khr_gl_sharing

Does Intel support opencl CPU khr_gl_sharing with older Intel GMA graphics chipsets (for opencl 1.1? opencl 1.2?)
What about non-intel graphics chipsets (Nvidia, AMD etc)

Is there a table of what is supported on what?

Decoding-opencl-Encoding Pipeline in Intel Media SDK

I am working on Decode-OPENCL-Encode pipeline on intel processor. There is a sample code provide by intel for media interop which is attached.

I am integrating the encoder into same.

If we look at the DecodeOneFrame() function below: 

mfxStatus CDecodingPipeline::DecodeOneFrame(int Width, int Height, IDirect3DSurface9 *pDstSurface, IDirect3DDevice9* pd3dDevice)
{
    mfxU16 nOCLSurfIndex=0;

    mfxStatus stsOut = MFX_ERR_NONE;
    if(m_Tasks[m_TaskIndex].m_DecodeSync || m_Tasks[m_TaskIndex].m_OCLSync || m_Tasks[m_TaskIndex].m_EncodeSync)

Are there *any* circumstances that will implicitly allocate shared local memory?

I'm curious if there are any circumstances that will result in an implicit increase in a kernel workgroup's shared memory requirements?

For example, do the workgroup (or subgroup) functions like scan or reduce quietly "reserve" SLM?

If there are any circumstances where this might happen on SB, IVB, HSW or BDW then could you list them?

 

Decoding-opencl-encoding pipeline

I am working on Decode-OPENCL-Encode pipeline on intel processor. There is a sample code provide by intel for media interop which is attached.

I am integrating the encoder into same.

If we look at the DecodeOneFrame() function below: 

mfxStatus CDecodingPipeline::DecodeOneFrame(int Width, int Height, IDirect3DSurface9 *pDstSurface, IDirect3DDevice9* pd3dDevice)
{
    mfxU16 nOCLSurfIndex=0;

    mfxStatus stsOut = MFX_ERR_NONE;
    if(m_Tasks[m_TaskIndex].m_DecodeSync || m_Tasks[m_TaskIndex].m_OCLSync || m_Tasks[m_TaskIndex].m_EncodeSync)

Working with Intel® Code Builder for OpenCL™ API on Systems Equipped with Intel® Xeon Phi™ x100 Coprocessor

Due to the recent restructuring in OpenCL™ Technology (see https://software.intel.com/en-us/intel-opencl ), the Intel® Code Builder for OpenCL™ replaces the Intel® SDK for OpenCL™ Applications. For the Intel® Xeon Phi™ x100 coprocessor, that means we need a specific OpenCL™ Runtime and the Code Builder for the coprocessor. So I decided to install the new OpenCL development environment and test an application on the Intel® Xeon Phi™ x100 coprocessor (codename Knights Corner).

Need help: I get unexpected results using opencl 2.0 atomics on HD5500?

Hi, 

I am trying opencl 2.0 atomics on HD5500, following the https://software.intel.com/en-us/articles/using-opencl-20-atomics.

I use CL_DRIVER_VERSION: 10.18.14.4029.

But I find the atomic operations result is not as expected.     The simplified version test is:

kernel void atomics_test(global int *output, volatile global atomic_int*  atomicBuffer, uint iterations, uint offset)
{
    for (int j = 0; j < MY_INNER_LOOP; j++)

Subscribe to OpenCL*