Coder Social home page Coder Social logo

Comments (6)

kouchy avatar kouchy commented on September 18, 2024

This is weird. The implementation is here : https://github.com/aff3ct/MIPP/blob/master/src/mipp_impl_AVX512.hxx#L3631.
Are you using a mipp::Reg_2 as function parameter ?

from mipp.

mtakatz avatar mtakatz commented on September 18, 2024

from mipp.

mtakatz avatar mtakatz commented on September 18, 2024

That was it, I appreciate the help. I didn't see another way to contact anybody. Thank you.

from mipp.

kouchy avatar kouchy commented on September 18, 2024

You're welcome :-)

from mipp.

yitiandong avatar yitiandong commented on September 18, 2024

Building and running on an AVX512 system (-march=native compile flag) and get the following error with the cvt function:

terminate called after throwing an instance of 'std::runtime_error' what(): mipp::cvt<int16_t,int32_t> (AVX512) is undefined! Aborted

Could you share about how you solve this? I have the same issue as you did.

terminate called after throwing an instance of 'std::runtime_error'
what(): mipp::cvt<int8_t,int16_t> (SSE3) is undefined!

from mipp.

mtakatz avatar mtakatz commented on September 18, 2024

For my case, using AVX512, I was using an incorrect input. I needed to use a Reg_2, not a Reg. I don't know if that will be the same for SSE3, but maybe.

mipp::Reg in;
in.load((short *) &data[data_index]);
// in.low()/high() create a type Reg_2
mipp::Reg ival_low = mipp::cvt<short,int>(in.low());
mipp::Reg ival_high = mipp::cvt<short,int>(in.high());
mipp::Reg fval_low = mipp::cvt<int,float>(ival_low) ;
mipp::Reg fval_high = mipp::cvt<int,float>(ival_high);

from mipp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.