Skip to content

Commit

Permalink
[intel-npu] use new extension support verification for cmdQueue and B…
Browse files Browse the repository at this point in the history
…atching also, for uniformity
  • Loading branch information
csoka committed Oct 18, 2024
1 parent de85a87 commit 5f69603
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/intel_npu/src/backend/src/zero_backend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ uint32_t ZeroEngineBackend::getGraphExtVersion() const {
}

bool ZeroEngineBackend::isBatchingSupported() const {
return _instance->getGraphDdiTable().version() >= ZE_GRAPH_EXT_VERSION_1_6;
return _instance->isExtensionSupported(std::string(ZE_GRAPH_EXT_NAME_1_6));
}

bool ZeroEngineBackend::isCommandQueueExtSupported() const {
return _instance->getCommandQueueDdiTable().version() >= ZE_COMMAND_QUEUE_NPU_EXT_VERSION_1_0;
return _instance->isExtensionSupported(std::string(ZE_COMMAND_QUEUE_NPU_EXT_NAME));
}

bool ZeroEngineBackend::isLUIDExtSupported() const {
Expand Down

0 comments on commit 5f69603

Please sign in to comment.