Page MenuHomeSolus

Enable SPIR-V backend for DCompute support
ClosedPublic

Authored by GZGavinZhao on Jun 21 2023, 11:38 PM.
Tags
None
Referenced Files
F11006705: D14206.id34681.diff
Tue, Aug 1, 4:33 PM
F11006703: D14206.id34638.diff
Tue, Aug 1, 4:32 PM
F11006702: D14206.id.diff
Tue, Aug 1, 4:32 PM
F11003337: D14206.diff
Mon, Jul 31, 1:40 PM
F10960247: D14206.diff
Tue, Jul 18, 10:30 AM
F10931364: D14206.id.diff
Tue, Jul 11, 7:10 PM
F10915629: D14206.diff
Jul 8 2023, 7:58 AM
F10895312: D14206.diff
Jul 1 2023, 3:58 PM
Subscribers
None

Details

Summary

Add spirv-llvm-translator (R5173) to builddeps to enable LDC's DCompute backend for compiling code to GPU kernels modules (NVPTX and OpenCL). Currently we only have the OpenCL backend enabled (for obvious reasons).

Test Plan

Successfully compiled and ran example DCompute programs with the ocl-210 OpenCL backend.

Diff Detail

Repository
R4120 ldc
Lint
Lint Not Applicable
Unit
Tests Not Applicable