Skip to content

Commit 2c433e9

Browse files
committed
PR comments addressed.
1 parent 7997a2d commit 2c433e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/SYCLLowerIR/GlobalOffset.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ using namespace TargetHelpers;
3131
#include "llvm/Support/CommandLine.h"
3232
static cl::opt<bool>
3333
EnableGlobalOffset("enable-global-offset", cl::Hidden, cl::init(true),
34-
cl::desc("Enabel SYCL global offset pass"));
34+
cl::desc("Enable SYCL global offset pass"));
3535
namespace llvm {
3636
ModulePass *createGlobalOffsetPass();
3737
void initializeGlobalOffsetPass(PassRegistry &);

sycl/doc/design/CompilerAndRuntimeDesign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ expected by the SYCL.
662662
In order to emulate this and make generated kernel compliant, an intrinsic
663663
`llvm.nvvm.implicit.offset` (clang builtin `__builtin_ptx_implicit_offset`) was
664664
introduced materializing the use of this implicit parameter for the NVPTX
665-
backend. AMDGCN uses the same approach with `llvm.andgpu.implicit.offset` and
665+
backend. AMDGCN uses the same approach with `llvm.amdgpu.implicit.offset` and
666666
`__builtin_amdgcn_implicit_offset`. The intrinsic returns a pointer to `i32`
667667
referring to a 3 elements array.
668668

0 commit comments

Comments
 (0)