[PATCH] D94013: [libclc] Add clspv target for libclc

Alan Baker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 4 08:32:57 PST 2021


alan-baker created this revision.
alan-baker added a reviewer: tstellar.
Herald added subscribers: jvesely, Anastasia, mgorny.
alan-baker requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add clspv as a new target for libclc. clspv is an open-source compiler that compiles OpenCL C to Vulkan SPIR-V. Compiles for the spir target. Notable changes include a fork of the generic software implementation of fma to avoid 64-bit integers (uses uint2 instead) and use of the software implementation of nextafter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D94013

Files:
  libclc/CMakeLists.txt
  libclc/clspv/lib/SOURCES
  libclc/clspv/lib/math/fma.cl
  libclc/clspv/lib/math/nextafter.cl
  libclc/clspv/lib/math/nextafter.inc
  libclc/clspv/lib/subnormal_config.cl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D94013.314383.patch
Type: text/x-patch
Size: 14961 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210104/787c5483/attachment-0001.bin>


More information about the llvm-commits mailing list