mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Enable gem close worker on direct submission
Related-To: NEO-5112 Change-Id: I1b6950d0308d98cca09051d6fea46d51c10d2a6a Signed-off-by: Lukasz Jobczyk <lukasz.jobczyk@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
03c8bbf054
commit
d20e3af187
@@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/command_stream/device_command_stream.h"
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
|
||||
#include "opencl/source/command_stream/command_stream_receiver_with_aub_dump.h"
|
||||
#include "opencl/source/os_interface/linux/drm_command_stream.h"
|
||||
@@ -18,8 +17,7 @@ CommandStreamReceiver *DeviceCommandStreamReceiver<GfxFamily>::create(bool withA
|
||||
if (withAubDump) {
|
||||
return new CommandStreamReceiverWithAUBDump<DrmCommandStreamReceiver<GfxFamily>>("aubfile", executionEnvironment, rootDeviceIndex);
|
||||
} else {
|
||||
auto gemMode = DebugManager.flags.EnableDirectSubmission.get() == 1 ? gemCloseWorkerMode::gemCloseWorkerInactive : gemCloseWorkerMode::gemCloseWorkerActive;
|
||||
return new DrmCommandStreamReceiver<GfxFamily>(executionEnvironment, rootDeviceIndex, gemMode);
|
||||
return new DrmCommandStreamReceiver<GfxFamily>(executionEnvironment, rootDeviceIndex);
|
||||
}
|
||||
};
|
||||
} // namespace NEO
|
||||
|
||||
Reference in New Issue
Block a user