From fce9452c25666984a51209a9aa94589c065385bc Mon Sep 17 00:00:00 2001 From: akashk4 <akashk4@illinois.edu> Date: Tue, 28 Jan 2020 08:55:00 -0600 Subject: [PATCH] Add description for GPU code generation pass in DFG2LLVM_OpenCL.cpp --- hpvm/lib/Transforms/DFG2LLVM_OpenCL/DFG2LLVM_OpenCL.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hpvm/lib/Transforms/DFG2LLVM_OpenCL/DFG2LLVM_OpenCL.cpp b/hpvm/lib/Transforms/DFG2LLVM_OpenCL/DFG2LLVM_OpenCL.cpp index 4567fd2acb..2d9a07500f 100644 --- a/hpvm/lib/Transforms/DFG2LLVM_OpenCL/DFG2LLVM_OpenCL.cpp +++ b/hpvm/lib/Transforms/DFG2LLVM_OpenCL/DFG2LLVM_OpenCL.cpp @@ -6,6 +6,14 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// +// +// This pass is responsible for generating code for kernel code and code for +// launching kernels for GPU target using HPVM dataflow graph. The kernels are +// generated into a separate file which is the C-Backend uses to generate +// OpenCL kernels with. +// +//===----------------------------------------------------------------------===// + #define ENABLE_ASSERTS #define TARGET_PTX 64 -- GitLab