Skip to content

Commit 00e6a48

Browse files
committed
Added comment
1 parent d82dd6b commit 00e6a48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

flang/lib/Optimizer/Transforms/CUFDeviceGlobal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class CUFDeviceGlobal : public fir::impl::CUFDeviceGlobalBase<CUFDeviceGlobal> {
6060
return mlir::WalkResult::advance();
6161
});
6262

63+
// Copying the device global variable into the gpu module
6364
mlir::SymbolTable parentSymTable(mod);
6465
auto gpuMod =
6566
parentSymTable.lookup<mlir::gpu::GPUModuleOp>(cudaDeviceModuleName);

0 commit comments

Comments
 (0)