mirror of
https://github.com/intel/compute-runtime.git
synced 2025-11-10 05:49:51 +08:00
Implement zeCommandListAppendLaunchCooperativeKernel
Resolves: NEO-4725 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
3dc3ad36f8
commit
8d55bfe21d
@@ -15,7 +15,6 @@
|
||||
#include "shared/source/helpers/string.h"
|
||||
#include "shared/source/os_interface/driver_info.h"
|
||||
#include "shared/source/os_interface/os_interface.h"
|
||||
#include "shared/source/program/sync_buffer_handler.h"
|
||||
#include "shared/source/source_level_debugger/source_level_debugger.h"
|
||||
|
||||
#include "opencl/source/helpers/cl_hw_helper.h"
|
||||
@@ -68,7 +67,6 @@ ClDevice::~ClDevice() {
|
||||
getSourceLevelDebugger()->notifyDeviceDestruction();
|
||||
}
|
||||
|
||||
syncBufferHandler.reset();
|
||||
for (auto &subDevice : subDevices) {
|
||||
subDevice.reset();
|
||||
}
|
||||
@@ -98,14 +96,6 @@ bool ClDevice::isOcl21Conformant() const {
|
||||
hwInfo.capabilityTable.supportsPipes && hwInfo.capabilityTable.supportsIndependentForwardProgress);
|
||||
}
|
||||
|
||||
void ClDevice::allocateSyncBufferHandler() {
|
||||
TakeOwnershipWrapper<ClDevice> lock(*this);
|
||||
if (syncBufferHandler.get() == nullptr) {
|
||||
syncBufferHandler = std::make_unique<SyncBufferHandler>(this->getDevice());
|
||||
UNRECOVERABLE_IF(syncBufferHandler.get() == nullptr);
|
||||
}
|
||||
}
|
||||
|
||||
void ClDevice::retainApi() {
|
||||
auto parentDeviceId = deviceInfo.parentDevice;
|
||||
if (parentDeviceId) {
|
||||
|
||||
@@ -31,7 +31,6 @@ class MemoryManager;
|
||||
class PerformanceCounters;
|
||||
class Platform;
|
||||
class SourceLevelDebugger;
|
||||
class SyncBufferHandler;
|
||||
struct DeviceInfo;
|
||||
struct EngineControl;
|
||||
struct HardwareCapabilities;
|
||||
@@ -77,7 +76,6 @@ class ClDevice : public BaseObject<_cl_device_id> {
|
||||
double getPlatformHostTimerResolution() const;
|
||||
bool isSimulation() const;
|
||||
GFXCORE_FAMILY getRenderCoreFamily() const;
|
||||
void allocateSyncBufferHandler();
|
||||
PerformanceCounters *getPerformanceCounters();
|
||||
PreemptionMode getPreemptionMode() const;
|
||||
bool isDebuggerActive() const;
|
||||
@@ -119,7 +117,6 @@ class ClDevice : public BaseObject<_cl_device_id> {
|
||||
ClDevice *getDeviceById(uint32_t deviceId);
|
||||
const std::string &peekCompilerExtensions() const;
|
||||
const std::string &peekCompilerExtensionsWithFeatures() const;
|
||||
std::unique_ptr<SyncBufferHandler> syncBufferHandler;
|
||||
DeviceBitfield getDeviceBitfield() const;
|
||||
bool isDeviceEnqueueSupported() const;
|
||||
bool arePipesSupported() const;
|
||||
|
||||
Reference in New Issue
Block a user