> -----Original Message----- > From: Böszörményi Zoltán <[email protected]> > Sent: Tuesday, March 28, 2023 3:12 PM > To: Saini, Naveen Kumar <[email protected]>; meta- > [email protected] > Subject: Re: [meta-intel] [PATCH] openvkl: disable avx ISAs for intel-corei7- > 64 machine > > 2023. 03. 28. 3:48 keltezéssel, Naveen Saini írta: > > It enables them by default instead of checking based on what is supported. > > Doesn't this package do a runtime check as opposed to a compile time check? > The machine it's built on may or may not have AVX and may or may not > match the machine it will be run on.
Yeah, it does not check at runtime ! Test app vklTests from testing/apps/ throws SIGILL - Illegal instruction signal at runtime. > > > openvklTest throws following error: > > SIGILL - Illegal instruction signal > > > > Signed-off-by: Naveen Saini <[email protected]> > > --- > > .../recipes-oneapi/openvkl/openvkl_1.3.2.bb | 6 ++++++ > > 1 file changed, 6 insertions(+) > > > > diff --git > > a/dynamic-layers/openembedded-layer/recipes- > oneapi/openvkl/openvkl_1.3 > > .2.bb > > b/dynamic-layers/openembedded-layer/recipes- > oneapi/openvkl/openvkl_1.3 > > .2.bb > > index 3e4113f0..6eca2172 100644 > > --- > > a/dynamic-layers/openembedded-layer/recipes- > oneapi/openvkl/openvkl_1.3 > > .2.bb > > +++ b/dynamic-layers/openembedded-layer/recipes- > oneapi/openvkl/openvkl > > +++ _1.3.2.bb > > @@ -30,6 +30,12 @@ DEPENDS = "ispc-native rkcommon embree" > > EXTRA_OECMAKE += " \ > > -DISPC_EXECUTABLE=${STAGING_BINDIR_NATIVE}/ispc \ > > " > > +EXTRA_OECMAKE:intel-corei7-64 += " \ > > + -DOPENVKL_ISA_AVX=OFF \ > > + -DOPENVKL_ISA_AVX2=OFF \ > > + -DOPENVKL_ISA_AVX512SKX=OFF \ > > + " > > + > > PACKAGES =+ "${PN}-examples" > > FILES:${PN}-examples = "\ > > ${bindir} \ > > > > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#7904): https://lists.yoctoproject.org/g/meta-intel/message/7904 Mute This Topic: https://lists.yoctoproject.org/mt/97897224/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-intel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
