OpenCL

From BCCD 3.0

Jump to: navigation, search

Contents

Introduction

OpenCL is an industry-standard API for programming using general-purpose graphical processing units (GPGPUs). It is similar to CUDA, but supports a wide range of GPGPUs rather than just nVidia's.

User instructions

BCCD installation

BCCD v3.3.4 installation

Debian 6 has no support for Intel CPUs (used in LittleFe v4d and up). The libraries and header files can be installed manually in modules, though, based on these notes. OpenCL only supports Linux amd64 platforms, so i386 will not be supported.

  1. Fetch and unpack the OpenCL 15.1 runtime.
  2. Convert RPMs to CPIO and unpack: rpm2cpio rpm/*.rpm |cpio -idmv
  3. Install in Modules:
    1. mkdir -p ${BCCD_SW}/opencl/15.1/${ARCHPATH}/include && mv opt/intel/opencl-1.2-5.0.0.57/lib64 ${BCCD_SW}/opencl/15.1/${ARCHPATH}
  4. Download headers into modules:
    1. pushd ${BCCD_SW}/opencl/15.1/${ARCHPATH}/include
    2. wget https://www.khronos.org/registry/cl/api/1.2/{opencl,cl_platform,cl,cl_ext,cl_gl,cl_gl_ext}.h
  5. Build a deb with Fpm:
    1. /var/lib/gems/1.9.1/bin/fpm -n opencl -v 15.1 -a amd64 -s dir -t deb ${BCCD_SW}/opencl/15.1/${ARCHPATH}

BCCD v3.4.0 installation

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox