Skip to content

Commit e7e739e

Browse files
committed
remove unused argument
Signed-off-by: jinge90 <[email protected]>
1 parent 88ca2c1 commit e7e739e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl-jit/jit-compiler/lib/rtc/DeviceCompilation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ Expected<ModuleUPtr> jit_compiler::compileDeviceCode(
470470
// GPU targets (no native CPU). Keep in sync!
471471
static void getDeviceLibraries(const ArgList &Args,
472472
SmallVectorImpl<std::string> &LibraryList,
473-
DiagnosticsEngine &Diags, BinaryFormat Format) {
473+
BinaryFormat Format) {
474474
// For CUDA/HIP we only need devicelib, early exit here.
475475
if (Format == BinaryFormat::PTX) {
476476
LibraryList.push_back(
@@ -534,7 +534,7 @@ Error jit_compiler::linkDeviceLibraries(llvm::Module &Module,
534534
/* ShouldOwnClient=*/false);
535535

536536
SmallVector<std::string> LibNames;
537-
getDeviceLibraries(UserArgList, LibNames, Diags, Format);
537+
getDeviceLibraries(UserArgList, LibNames, Format);
538538
const bool IsCudaHIP =
539539
Format == BinaryFormat::PTX || Format == BinaryFormat::AMDGCN;
540540
if (IsCudaHIP) {

0 commit comments

Comments
 (0)