[all-commits] [llvm/llvm-project] c37145: libclc: Add Mesa/SPIR-V target

Dave Airlie via All-commits all-commits at lists.llvm.org
Mon Aug 17 14:02:14 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c37145cab12168798a603e22af6b6bf6f606b705
      https://github.com/llvm/llvm-project/commit/c37145cab12168798a603e22af6b6bf6f606b705
  Author: Dave Airlie <airlied at redhat.com>
  Date:   2020-08-17 (Mon, 17 Aug 2020)

  Changed paths:
    M libclc/CMakeLists.txt
    M libclc/generic/include/clc/clcfunc.h
    M libclc/generic/lib/common/smoothstep.cl
    M libclc/generic/lib/common/step.cl
    A libclc/spirv/lib/SOURCES
    A libclc/spirv/lib/subnormal_config.cl
    A libclc/spirv64/lib/SOURCES
    A libclc/spirv64/lib/subnormal_config.cl

  Log Message:
  -----------
  libclc: Add Mesa/SPIR-V target

Add targets to emit SPIR-V targeted to Mesa's OpenCL support, using
SPIR-V 1.1.

Substantially based on Dave Airlie's earlier work.

libclc: spirv: remove step/smoothstep apis not defined for SPIR-V

libclc: disable inlines for SPIR-V builds

Reviewed By: jvesely, tstellar, jenatali

Differential Revision: https://reviews.llvm.org/D77589




More information about the All-commits mailing list