[all-commits] [llvm/llvm-project] 52c501: [AMDGPU] add support for hostcall buffer pointer a...
Sameer Sahasrabuddhe via All-commits
all-commits at lists.llvm.org
Wed Nov 20 02:24:46 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 52c5014da099797e9f1f6c90acddf79a68aa85cb
https://github.com/llvm/llvm-project/commit/52c5014da099797e9f1f6c90acddf79a68aa85cb
Author: Sameer Sahasrabuddhe <sameer.sahasrabuddhe at amd.com>
Date: 2019-11-20 (Wed, 20 Nov 2019)
Changed paths:
M llvm/docs/AMDGPUUsage.rst
M llvm/include/llvm/Support/AMDGPUMetadata.h
M llvm/lib/BinaryFormat/AMDGPUMetadataVerifier.cpp
M llvm/lib/Support/AMDGPUMetadata.cpp
M llvm/lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp
M llvm/lib/Target/AMDGPU/AMDGPUPrintfRuntimeBinding.cpp
M llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full-v3.ll
M llvm/test/CodeGen/AMDGPU/hsa-metadata-from-llvm-ir-full.ll
A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent-v3.ll
A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-absent.ll
A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present-v3.ll
A llvm/test/CodeGen/AMDGPU/hsa-metadata-hostcall-present.ll
A llvm/test/CodeGen/AMDGPU/opencl-printf-no-hostcall.ll
Log Message:
-----------
[AMDGPU] add support for hostcall buffer pointer as hidden kernel argument
Hostcall is a service that allows a kernel to submit requests to the
host using shared buffers, and block until a response is
received. This will eventually replace the shared buffer currently
used for printf, and repurposes the same hidden kernel argument. This
change introduces a new ValueKind in the HSA metadata to represent the
hostcall buffer.
Differential Revision: https://reviews.llvm.org/D70038
More information about the All-commits
mailing list