mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 15:12:56 +08:00
Ocloc: New AOT design implementation
Ocloc will handle any new values that may be passed to the -device argument. Supported acronyms are available under cmd: ocloc compile --help Supported patterns: - device acronym - release acronym - family acronym - version (major.minor.revision) Fatbinary will no longer handle major.minor.revision variances, only acronyms allowed. Signed-off-by: Daria Hinz <daria.hinz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
2a71266708
commit
6d365cbfc3
@@ -13,6 +13,7 @@ if(TESTS_DG2)
|
||||
set(NEO_CORE_TESTS_XE_HPG_CORE_DG2
|
||||
${IGDRCL_SRCS_tests_xe_hpg_core_dg2_excludes}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/CMakeLists.txt
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/product_configs_dg2.h
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_encode_dg2.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_encode_dispatch_kernel_dg2.cpp
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/test_hw_helper_dg2.cpp
|
||||
@@ -21,4 +22,5 @@ if(TESTS_DG2)
|
||||
)
|
||||
|
||||
target_sources(${TARGET_NAME} PRIVATE ${NEO_CORE_TESTS_XE_HPG_CORE_DG2})
|
||||
add_subdirectories()
|
||||
endif()
|
||||
|
||||
20
shared/test/common/xe_hpg_core/dg2/product_configs_dg2.h
Normal file
20
shared/test/common/xe_hpg_core/dg2/product_configs_dg2.h
Normal file
@@ -0,0 +1,20 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "platforms.h"
|
||||
|
||||
namespace AOT_DG2 {
|
||||
constexpr AOT::PRODUCT_CONFIG productConfigs[] = {
|
||||
AOT::DG2_G10_A0,
|
||||
AOT::DG2_G10_A1,
|
||||
AOT::DG2_G10_B0,
|
||||
AOT::DG2_G10_C0,
|
||||
AOT::DG2_G11_A0,
|
||||
AOT::DG2_G11_B0,
|
||||
AOT::DG2_G11_B1};
|
||||
}
|
||||
Reference in New Issue
Block a user