Skip to content

Commit ede866c

Browse files
Initialize root device context
Signed-off-by: Maciej Dziuban <[email protected]>
1 parent 699b504 commit ede866c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

shared/source/device/root_device.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ void RootDevice::initializeRootCommandStreamReceiver() {
9999
preemptionMode,
100100
true);
101101

102+
osContext->ensureContextInitialized();
102103
rootCommandStreamReceiver->setupContext(*osContext);
103104
rootCommandStreamReceiver->initializeTagAllocation();
104105
rootCommandStreamReceiver->createGlobalFenceAllocation();

0 commit comments

Comments
 (0)