Skip to content

Commit

Permalink
[VP] Switch FC kernel to ocl path
Browse files Browse the repository at this point in the history
Switch FC kernel to ocl path by default
  • Loading branch information
kchen1024 authored and intel-mediadev committed Nov 7, 2024
1 parent 928d451 commit 4cc33fd
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ class VpPlatformInterfaceXe_Hpm : public VpPlatformInterface

virtual MOS_STATUS InitVpFeatureSupportBits() override;

virtual bool SupportOclKernel() override
{
return false;
}

protected:
bool m_disableSfcDithering = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@ class VpPlatformInterfaceXe_Xpm : public VpPlatformInterface

virtual MOS_STATUS ConfigureVpScalability(VP_MHWINTERFACE &vpMhwInterface);

virtual bool SupportOclKernel() override
{
return false;
}

protected:
bool m_disableSfcDithering = false;
MEDIA_CLASS_DEFINE_END(vp__VpPlatformInterfaceXe_Xpm)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ class VpPlatformInterfaceG12Tgllp : public VpPlatformInterface

virtual MOS_STATUS ConfigureVpScalability(VP_MHWINTERFACE &vpMhwInterface);

virtual bool SupportOclKernel() override
{
return false;
}

MEDIA_CLASS_DEFINE_END(vp__VpPlatformInterfaceG12Tgllp)
};

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ class VpPlatformInterfacsXe2_Lpm : public VpPlatformInterface

virtual MOS_STATUS InitVpFeatureSupportBits() override;

virtual bool SupportOclKernel() override
{
return false;
}

protected:
bool m_disableSfcDithering = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ class VpPlatformInterfaceXe2_Hpm : public VpPlatformInterface
virtual bool IsVeboxScalabilityWith4KNotSupported(
VP_MHWINTERFACE vpMhwInterface);

virtual bool SupportOclKernel() override
{
return false;
}

protected:
bool m_disableSfcDithering = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,11 @@ class VpPlatformInterfacesXe_Lpm_Plus : public VpPlatformInterface

virtual MOS_STATUS InitVpFeatureSupportBits() override;

virtual bool SupportOclKernel() override
{
return false;
}

protected:
bool m_disableSfcDithering = false;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ class VpPlatformInterface

virtual bool SupportOclKernel()
{
return false;
return true;
}

virtual MOS_STATUS InitVpFeatureSupportBits()
Expand Down

0 comments on commit 4cc33fd

Please sign in to comment.