Skip to content

Commit db842d1

Browse files
Remove unused variable & unrelated edit
1 parent 1186004 commit db842d1

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,10 +2641,8 @@ device_image_plain ProgramManager::build(const device_image_plain &DeviceImage,
26412641
getSyclObjImpl(DeviceImage);
26422642

26432643
const context Context = InputImpl->get_context();
2644-
26452644
const ContextImplPtr ContextImpl = getSyclObjImpl(Context);
26462645

2647-
KernelProgramCache &Cache = ContextImpl->getKernelProgramCache();
26482646

26492647
const RTDeviceBinaryImage *ImgPtr = InputImpl->get_bin_image_ref();
26502648
const RTDeviceBinaryImage &Img = *ImgPtr;

sycl/source/detail/program_manager/program_manager.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,6 @@ class ProgramManager {
132132
const std::vector<const RTDeviceBinaryImage *> &AllImages,
133133
const context &Context, const std::vector<device> &Devices,
134134
const std::string &CompileAndLinkOptions, SerializedObj SpecConsts);
135-
136135
/// Builds or retrieves from cache a program defining the kernel with given
137136
/// name.
138137
/// \param M identifies the OS module the kernel comes from (multiple OS

0 commit comments

Comments
 (0)