Skip to content

Commit 2687953

Browse files
Update sycl/source/detail/program_manager/program_manager.cpp
Co-authored-by: Andrei Elovikov <[email protected]>
1 parent c954ef0 commit 2687953

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/source/detail/program_manager/program_manager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ Managed<ur_program_handle_t> ProgramManager::getBuiltURProgram(
857857
CandidateRoot->getHandleRef(), UR_DEVICE_INFO_BUILD_ON_SUBDEVICE,
858858
sizeof(ur_bool_t), &MustBuildOnSubdevice, nullptr);
859859

860-
// Sharing is allowed within a single context only and only if backend
860+
// Sharing is allowed within a single context if and only if backend
861861
// supports sharing.
862862
if (!MustBuildOnSubdevice && ContextImpl.hasDevice(*CandidateRoot))
863863
BuildDev = CandidateRoot;

0 commit comments

Comments
 (0)