The Wayback Machine - https://web.archive.org/web/20200703025006/https://github.com/topics/simd
Skip to content
#

simd

Here are 412 public repositories matching this topic...

simdjson
xfan1024
xfan1024 commented Jan 7, 2020

我发现examples/retinaface.cpp中,如果开启OMP加速的话似乎在检测到人脸时会发生内存泄漏,但我定位不了这个问题的具体原因。

值得注意的时,如果将qsort_descent_inplace函数中的OMP指令注释掉这个问题就会消失掉。

static void qsort_descent_inplace(std::vector<FaceObject>& faceobjects, int left, int right)
{
    int i = left;
    int j = right;
    float p = faceobjects[(left + right) / 2].prob;
    ...
    // #pragma omp parallel sections
    {
        // #pragma
jonckennedy
jonckennedy commented Jun 26, 2019

So many mistakes are made due to the default 'varying' decoration on a type when no decoration is given, that there should be a warning for it - disabled by default to not break current code.

#pragma warning(varying) //to enable
--wvarying // CLI to enable

CSharperMantle
CSharperMantle commented Apr 7, 2020

I am sorry but I don't know how to put it into an Issue format, so I have to explain it plainly.

Dear contributors,

It seems that every source file in Vc library has the following copyright notice:

/*  This file is part of the Vc library. {{{
Copyright © 2009-2015 XXX <xxx@example.com>
Redistribution and use in source and binary forms, with or without
modification, are permitte
HadrienG2
HadrienG2 commented May 1, 2018

At least on x86, the fastest intrinsics for shuffling the contents of a vector or blending data from two vectors take an immediate operand, which must be a compile-time constant. So there would be a use case for a compile-time version of xsimd::select(), as it could use these faster instructions.

An example of prior art for this is the shuffle() instruction family in bSIMD:

callym
callym commented Jul 23, 2018

In the documentation, the sentence A trait representing an affine transformation that can be applied to points or vectors. An affine transformation is one which is cut off. I'm not sure how it's meant to end and don't know enough about what an affine transformation is to fix it, but thought I'd point it out 😄

nemequ
nemequ commented Feb 21, 2020

We should add WASM simd128 implementations of as many SSE/SSE2/etc. functions as possible.

Some of the functions won't see much, if any, improvements since we already have GCC-style vector extension and OpenMP SIMD support. The real benefit will be for the functions that can't use GCC-style vectors. For example, saturated operations, min/max, etc. And of course there will be a lot of cases w

gnzlbg
gnzlbg commented Jul 16, 2019

Modifying MXCSR is insta-UB in LLVM, and inspecting it is kind of pointless since LLVM can change it behind your back however it wants (e.g. depending on the opt-level).

We should deprecate these and tell people not to use them, since they won't do what they want them to do.

Users that want to mess with MXCSR, should do so in such a way that doesn't trigger UB in LLVM. For example, by openi

Improve this page

Add a description, image, and links to the simd topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the simd topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.