Commit a30f06f1 authored by Dmitry Sorokin's avatar Dmitry Sorokin Committed by Oleg Nabiullin

genx/la: add kernels build support

parent cc746555
......@@ -30,17 +30,15 @@ MFX_LOCAL_SRC_FILES_HW := \
$(patsubst $(LOCAL_PATH)/%, %, $(foreach dir, $(MFX_LOCAL_DIRS_HW), $(wildcard $(LOCAL_PATH)/mfx_lib/$(dir)/src/*.cpp)))
MFX_LOCAL_SRC_FILES_HW += $(addprefix mfx_lib/genx/h264_encode/isa/, \
genx_bdw_simple_me_isa.cpp \
genx_cnl_histogram_isa.cpp \
genx_cnl_simple_me_isa.cpp \
genx_hsw_simple_me_isa.cpp \
genx_hsw_simple_me_proto.cpp \
genx_icl_histogram_isa.cpp \
genx_icllp_histogram_isa.cpp \
genx_icllp_simple_me_isa.cpp \
genx_icl_simple_me_isa.cpp \
genx_skl_histogram_isa.cpp \
genx_skl_simple_me_isa.cpp)
genx_simple_me_gen8_isa.cpp \
genx_simple_me_gen9_isa.cpp \
genx_simple_me_gen10_isa.cpp \
genx_simple_me_gen11_isa.cpp \
genx_simple_me_gen11lp_isa.cpp \
genx_histogram_gen9_isa.cpp \
genx_histogram_gen10_isa.cpp \
genx_histogram_gen11_isa.cpp \
genx_histogram_gen11lp_isa.cpp)
MFX_LOCAL_INCLUDES := \
$(foreach dir, $(MFX_LOCAL_DIRS), $(wildcard $(LOCAL_PATH)/mfx_lib/$(dir)/include))
......
......@@ -32,15 +32,15 @@
#include "mfx_h264_encode_cm_defs.h"
#include "mfx_h264_encode_cm.h"
#include "mfx_h264_encode_hw_utils.h"
#include "genx_bdw_simple_me_isa.h"
#include "genx_skl_simple_me_isa.h"
#include "genx_skl_histogram_isa.h"
#include "genx_cnl_simple_me_isa.h"
#include "genx_cnl_histogram_isa.h"
#include "genx_icl_simple_me_isa.h"
#include "genx_icl_histogram_isa.h"
#include "genx_icllp_simple_me_isa.h"
#include "genx_icllp_histogram_isa.h"
#include "genx_simple_me_gen8_isa.h"
#include "genx_simple_me_gen9_isa.h"
#include "genx_simple_me_gen10_isa.h"
#include "genx_simple_me_gen11_isa.h"
#include "genx_simple_me_gen11lp_isa.h"
#include "genx_histogram_gen9_isa.h"
#include "genx_histogram_gen10_isa.h"
#include "genx_histogram_gen11_isa.h"
#include "genx_histogram_gen11lp_isa.h"
namespace MfxHwH264EncodeHW
......@@ -48,7 +48,6 @@ namespace MfxHwH264EncodeHW
using MfxHwH264Encode::CmRuntimeError;
///const char ME_PROGRAM_NAME[] = "genx_hsw_simple_me.isa";
const mfxU32 SEARCHPATHSIZE = 56;
const mfxU32 BATCHBUFFER_END = 0x5000000;
......@@ -63,7 +62,7 @@ CmProgram * ReadProgram(CmDevice * device, const mfxU8 * buffer, size_t len)
return program;
}
CmKernel * CreateKernel(CmDevice * device, CmProgram * program, char const * name, void * funcptr)
CmKernel * CreateKernel(CmDevice * device, CmProgram * program, char const * name, const void * funcptr)
{
int result = CM_SUCCESS;
CmKernel * kernel = 0;
......@@ -863,26 +862,26 @@ void CmContext::Setup(
#ifdef MFX_ENABLE_KERNELS
case MFX_HW_BDW:
case MFX_HW_CHT:
m_program = ReadProgram(m_device, genx_bdw_simple_me, SizeOf(genx_bdw_simple_me));
m_program = ReadProgram(m_device, genx_simple_me_gen8, SizeOf(genx_simple_me_gen8));
break;
case MFX_HW_SCL:
case MFX_HW_APL:
case MFX_HW_KBL:
case MFX_HW_CFL:
m_program = ReadProgram(m_device, genx_skl_simple_me, SizeOf(genx_skl_simple_me));
m_programHist = ReadProgram(m_device, genx_skl_histogram, SizeOf(genx_skl_histogram));
m_program = ReadProgram(m_device, genx_simple_me_gen9, SizeOf(genx_simple_me_gen9));
m_programHist = ReadProgram(m_device, genx_histogram_gen9, SizeOf(genx_histogram_gen9));
break;
case MFX_HW_CNL:
m_program = ReadProgram(m_device, genx_cnl_simple_me, SizeOf(genx_cnl_simple_me));
m_programHist = ReadProgram(m_device, genx_cnl_histogram, SizeOf(genx_cnl_histogram));
m_program = ReadProgram(m_device, genx_simple_me_gen10, SizeOf(genx_simple_me_gen10));
m_programHist = ReadProgram(m_device, genx_histogram_gen10, SizeOf(genx_histogram_gen10));
break;
case MFX_HW_ICL:
m_program = ReadProgram(m_device, genx_icl_simple_me, SizeOf(genx_icl_simple_me));
m_programHist = ReadProgram(m_device, genx_icl_histogram, SizeOf(genx_icl_histogram));
m_program = ReadProgram(m_device, genx_simple_me_gen11, SizeOf(genx_simple_me_gen11));
m_programHist = ReadProgram(m_device, genx_histogram_gen11, SizeOf(genx_histogram_gen11));
break;
case MFX_HW_ICL_LP:
m_program = ReadProgram(m_device, genx_icllp_simple_me, SizeOf(genx_icllp_simple_me));
m_programHist = ReadProgram(m_device, genx_icllp_histogram, SizeOf(genx_icllp_histogram));
m_program = ReadProgram(m_device, genx_simple_me_gen11lp, SizeOf(genx_simple_me_gen11lp));
m_programHist = ReadProgram(m_device, genx_histogram_gen11lp, SizeOf(genx_histogram_gen11lp));
break;
#endif
default:
......@@ -891,15 +890,15 @@ void CmContext::Setup(
if (m_program)
{
m_kernelI = CreateKernel(m_device, m_program, "EncMB_I", (void *)EncMB_I);
m_kernelP = CreateKernel(m_device, m_program, "EncMB_P", (void *)EncMB_P);
m_kernelB = CreateKernel(m_device, m_program, "EncMB_B", (void *)EncMB_B);
m_kernelI = CreateKernel(m_device, m_program, "EncMB_I", CM_KERNEL_FUNCTION(EncMB_I));
m_kernelP = CreateKernel(m_device, m_program, "EncMB_P", CM_KERNEL_FUNCTION(EncMB_P));
m_kernelB = CreateKernel(m_device, m_program, "EncMB_B", CM_KERNEL_FUNCTION(EncMB_B));
}
if (m_programHist)
{
m_kernelHistFrame = CreateKernel(m_device, m_programHist, "HistogramSLMFrame", (void *)HistogramFrame);
m_kernelHistFields = CreateKernel(m_device, m_programHist, "HistogramSLMFields", (void *)HistogramFields);
m_kernelHistFrame = CreateKernel(m_device, m_programHist, "HistogramSLMFrame", CM_KERNEL_FUNCTION(HistogramFrame));
m_kernelHistFields = CreateKernel(m_device, m_programHist, "HistogramSLMFields", CM_KERNEL_FUNCTION(HistogramFields));
}
......
......@@ -123,19 +123,25 @@ if(MFX_ENABLE_KERNELS)
${prefix}/genx_fcopy_gen11lp_isa.cpp
)
if(BUILD_KERNELS)
add_cmc_target(${MSDK_GENX_ROOT}/h264_encode/src/genx_simple_me.cpp gen8 ${MSDK_GENX_ROOT}/h264_encode/isa)
foreach(platform gen9 gen10 gen11 gen11lp)
add_cmc_target(${MSDK_GENX_ROOT}/h264_encode/src/genx_histogram.cpp ${platform} ${MSDK_GENX_ROOT}/h264_encode/isa)
add_cmc_target(${MSDK_GENX_ROOT}/h264_encode/src/genx_simple_me.cpp ${platform} ${MSDK_GENX_ROOT}/h264_encode/isa)
endforeach()
endif()
set( prefix ${MSDK_GENX_ROOT}/h264_encode/isa )
list( APPEND sources
${prefix}/genx_bdw_simple_me_isa.cpp
${prefix}/genx_cnl_histogram_isa.cpp
${prefix}/genx_cnl_simple_me_isa.cpp
${prefix}/genx_hsw_simple_me_isa.cpp
${prefix}/genx_hsw_simple_me_proto.cpp
${prefix}/genx_icl_histogram_isa.cpp
${prefix}/genx_icl_simple_me_isa.cpp
${prefix}/genx_icllp_histogram_isa.cpp
${prefix}/genx_icllp_simple_me_isa.cpp
${prefix}/genx_skl_histogram_isa.cpp
${prefix}/genx_skl_simple_me_isa.cpp
${prefix}/genx_simple_me_gen8_isa.cpp
${prefix}/genx_simple_me_gen9_isa.cpp
${prefix}/genx_simple_me_gen10_isa.cpp
${prefix}/genx_simple_me_gen11_isa.cpp
${prefix}/genx_simple_me_gen11lp_isa.cpp
${prefix}/genx_histogram_gen9_isa.cpp
${prefix}/genx_histogram_gen10_isa.cpp
${prefix}/genx_histogram_gen11_isa.cpp
${prefix}/genx_histogram_gen11lp_isa.cpp
)
if(MFX_ENABLE_MCTF)
......
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_cnl_histogram_isa.h"
#include "genx_histogram_gen10_isa.h"
const unsigned char genx_cnl_histogram[62934] = {
const unsigned char genx_histogram_gen10[62934] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x02,0x00,0x11,0x48,0x69,0x73,0x74,0x6f,0x67,0x72,
0x61,0x6d,0x53,0x4c,0x4d,0x46,0x72,0x61,0x6d,0x65,0x65,0x00,0x00,0x00,0x10,0x45,
0x00,0x00,0xa9,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x75,0x45,0x00,0x00,
......
......@@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_icl_simple_me__
#define __genx_icl_simple_me__
extern const unsigned char genx_icl_simple_me[279092];
#ifndef __genx_histogram_gen10__
#define __genx_histogram_gen10__
extern const unsigned char genx_histogram_gen10[62934];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_icl_histogram_isa.h"
#include "genx_histogram_gen11_isa.h"
const unsigned char genx_icl_histogram[62902] = {
const unsigned char genx_histogram_gen11[62902] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x02,0x00,0x11,0x48,0x69,0x73,0x74,0x6f,0x67,0x72,
0x61,0x6d,0x53,0x4c,0x4d,0x46,0x72,0x61,0x6d,0x65,0x65,0x00,0x00,0x00,0x10,0x45,
0x00,0x00,0xa9,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x08,0x75,0x45,0x00,0x00,
......
......@@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_cnl_histogram__
#define __genx_cnl_histogram__
extern const unsigned char genx_cnl_histogram[62934];
#ifndef __genx_histogram_gen11__
#define __genx_histogram_gen11__
extern const unsigned char genx_histogram_gen11[62902];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_icllp_histogram_isa.h"
#include "genx_histogram_gen11lp_isa.h"
const unsigned char genx_icllp_histogram[63286] = {
const unsigned char genx_histogram_gen11lp[63286] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x02,0x00,0x11,0x48,0x69,0x73,0x74,0x6f,0x67,0x72,
0x61,0x6d,0x53,0x4c,0x4d,0x46,0x72,0x61,0x6d,0x65,0x65,0x00,0x00,0x00,0x10,0x45,
0x00,0x00,0xa9,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0a,0x75,0x45,0x00,0x00,
......
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_histogram_gen11lp__
#define __genx_histogram_gen11lp__
extern const unsigned char genx_histogram_gen11lp[63286];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_skl_histogram_isa.h"
#include "genx_histogram_gen9_isa.h"
const unsigned char genx_skl_histogram[62966] = {
const unsigned char genx_histogram_gen9[62966] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x02,0x00,0x11,0x48,0x69,0x73,0x74,0x6f,0x67,0x72,
0x61,0x6d,0x53,0x4c,0x4d,0x46,0x72,0x61,0x6d,0x65,0x65,0x00,0x00,0x00,0x10,0x45,
0x00,0x00,0xa9,0x0f,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x05,0x75,0x45,0x00,0x00,
......
......@@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_cnl_simple_me__
#define __genx_cnl_simple_me__
extern const unsigned char genx_cnl_simple_me[259388];
#ifndef __genx_histogram_gen9__
#define __genx_histogram_gen9__
extern const unsigned char genx_histogram_gen9[62966];
#endif
// Copyright (c) 2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_hsw_simple_me__
#define __genx_hsw_simple_me__
extern const unsigned char genx_hsw_simple_me[220797];
#endif
// Copyright (c) 2017 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef CMRT_EMU
extern "C"
{
void EncMB_I() {}
void EncMB_P() {}
void EncMB_B() {}
void DownSampleMB2X() {}
void DownSampleMB4X() {}
void HistogramFrame() {}
void HistogramFields() {}
}
#endif // CMRT_EMU
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_icllp_histogram__
#define __genx_icllp_histogram__
extern const unsigned char genx_icllp_histogram[63286];
#endif
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_icllp_simple_me__
#define __genx_icllp_simple_me__
extern const unsigned char genx_icllp_simple_me[279092];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_cnl_simple_me_isa.h"
#include "genx_simple_me_gen10_isa.h"
const unsigned char genx_cnl_simple_me[259388] = {
const unsigned char genx_simple_me_gen10[259388] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x05,0x00,0x0e,0x44,0x6f,0x77,0x6e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x4d,0x42,0x32,0x58,0xc4,0x00,0x00,0x00,0x50,0x1b,0x00,0x00,0x2a,
0x0d,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x07,0x14,0x1c,0x00,0x00,0x50,0x07,0x00,
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_simple_me_gen10__
#define __genx_simple_me_gen10__
extern const unsigned char genx_simple_me_gen10[259388];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_icl_simple_me_isa.h"
#include "genx_simple_me_gen11_isa.h"
const unsigned char genx_icl_simple_me[279092] = {
const unsigned char genx_simple_me_gen11[279092] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x05,0x00,0x0e,0x44,0x6f,0x77,0x6e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x4d,0x42,0x32,0x58,0xc4,0x00,0x00,0x00,0x50,0x1b,0x00,0x00,0x2a,
0x0d,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x08,0x14,0x1c,0x00,0x00,0x50,0x08,0x00,
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_simple_me_gen11__
#define __genx_simple_me_gen11__
extern const unsigned char genx_simple_me_gen11[279092];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_icllp_simple_me_isa.h"
#include "genx_simple_me_gen11lp_isa.h"
const unsigned char genx_icllp_simple_me[279092] = {
const unsigned char genx_simple_me_gen11lp[279092] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x05,0x00,0x0e,0x44,0x6f,0x77,0x6e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x4d,0x42,0x32,0x58,0xc4,0x00,0x00,0x00,0x50,0x1b,0x00,0x00,0x2a,
0x0d,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x0a,0x14,0x1c,0x00,0x00,0x50,0x08,0x00,
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_simple_me_gen11lp__
#define __genx_simple_me_gen11lp__
extern const unsigned char genx_simple_me_gen11lp[279092];
#endif
......@@ -17,9 +17,9 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_bdw_simple_me_isa.h"
#include "genx_simple_me_gen8_isa.h"
//Note:this kernel can't be built from sources now
const unsigned char genx_bdw_simple_me[259932] = {
const unsigned char genx_simple_me_gen8[259932] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x05,0x00,0x0e,0x44,0x6f,0x77,0x6e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x4d,0x42,0x32,0x58,0xc4,0x00,0x00,0x00,0x50,0x1b,0x00,0x00,0x2a,
0x0d,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x03,0x14,0x1c,0x00,0x00,0xb8,0x07,0x00,
......@@ -17,7 +17,7 @@
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_bdw_simple_me__
#define __genx_bdw_simple_me__
extern const unsigned char genx_bdw_simple_me[259932];
#ifndef __genx_simple_me_gen8__
#define __genx_simple_me_gen8__
extern const unsigned char genx_simple_me_gen8[259932];
#endif
......@@ -18,9 +18,9 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#include "genx_skl_simple_me_isa.h"
#include "genx_simple_me_gen9_isa.h"
const unsigned char genx_skl_simple_me[259428] = {
const unsigned char genx_simple_me_gen9[259428] = {
0x43,0x49,0x53,0x41,0x03,0x06,0x05,0x00,0x0e,0x44,0x6f,0x77,0x6e,0x53,0x61,0x6d,
0x70,0x6c,0x65,0x4d,0x42,0x32,0x58,0xc4,0x00,0x00,0x00,0x50,0x1b,0x00,0x00,0x2a,
0x0d,0x00,0x00,0x00,0x00,0x00,0x00,0x01,0x05,0x14,0x1c,0x00,0x00,0x40,0x07,0x00,
......@@ -18,7 +18,7 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_icl_histogram__
#define __genx_icl_histogram__
extern const unsigned char genx_icl_histogram[62902];
#ifndef __genx_simple_me_gen9__
#define __genx_simple_me_gen9__
extern const unsigned char genx_simple_me_gen9[259428];
#endif
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_skl_histogram__
#define __genx_skl_histogram__
extern const unsigned char genx_skl_histogram[62966];
#endif
// Copyright (c) 2012-2018 Intel Corporation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.
#ifndef __genx_skl_simple_me__
#define __genx_skl_simple_me__
extern const unsigned char genx_skl_simple_me[259428];
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment