Displaying 20 results from an estimated 976 matches for "interleave".
2005 Nov 15
2
OggPCM2 : chunked vs interleaved data
...sformation is trivial, particularly given certain
>characteristics of the Ogg container. Remember, the data, if you read
>an ogg stream into memory, is _already_ likely to be non-contiguous,
>due to ogg's structure. It's trivial, and has insignificant additional
>overhead, to de-interleave as you read it into a packet buffer.
>
>
>
Could you elaborate on this? I'm not familiar enough with the ogg API,
but as far as I can tell, the way you'd do this would be to get the
whole interleaved packet out with ogg_stream_packetout and then walk
through it to de-interleav...
2016 Aug 05
3
enabling interleaved access loop vectorization
Hi Michael,
Sometime back I did some experiments with interleave vectorizer and did not found any degrade,
probably my tests/benchmarks are not extensive enough to cover much.
Elina is the right person to comment on it as she already experienced cases where it hinders performance.
For interleave vectorizer on X86 we do not have any specific costing, it goes to...
2005 Nov 15
4
OggPCM2 : chunked vs interleaved data
Hi all,
The remaining issue to be decided for the OggPCM2 spec is the support
of chunked vs interleaved data.
Just so that everyone understands what we are talking about, consider a
stereo file that gets stored as an OggPCM file. Within an OggPCM packet,
the audio samples for the left and right channels can be stored as
interleaved where the samples would be:
l0, r0, l1, r1, ..... lN, rN
or...
2016 Aug 05
2
enabling interleaved access loop vectorization
Regarding InterleavedAccessPass - sure, but proper strided/interleaved
access optimization ought to have a positive impact even without target
support.
Case in point - Hal enabled it on PPC last September. An important
difference vs. x86 seems to be that arbitrary shuffles are cheap on PPC,
but, as I said below, I hope...
2016 May 26
2
enabling interleaved access loop vectorization
Interleaved access is not enabled on X86 yet.
We looked at this feature and got into conclusion that interleaving (as loads + shuffles) is not always profitable on X86. We should provide the right cost which depends on number of shuffles. Number of shuffles depends on permutations (shuffle mask). And even if...
2006 Mar 06
3
Interleaving elements of two vectors?
...71, 72, 77)
How would one write an R function which alternates between elements of
one vector and the next? In other words, one wants
z <- c(x[1], y[1], x[2], y[2], x[3], y[3], x[4], y[4], x[5], y[5])
I couldn't think of a clever and general way to write this. I am aware
of gdata::interleave() but it deals with interleaving rows of a data
frame, not elems of vectors.
--
Ajay Shah http://www.mayin.org/ajayshah
ajayshah at mayin.org http://ajayshahblog.blogspot.com
<*(:-? - wizard who doesn't know the answer.
2018 Feb 06
2
[RFC] Make LoopVectorize Aware of SLP Operations
...loops operating on struct fields or
doing complex math.
At the moment, LoopVectorize uses interleaving to vectorize loops that
operate on values loaded/stored from consecutive addresses: vector
loads/stores are generated to combine consecutive loads/stores and then
shufflevector is used to de-interleave/interleave the loaded/stored
values. At the moment however, we fail to detect cases where the same
operations are applied to all consecutive values and there is no need to
interleave. To illustrate this, consider the following example loop:
struct Test {
int x;
int y;
};
void add(st...
2016 May 26
0
enabling interleaved access loop vectorization
On 26 May 2016 at 19:12, Sanjay Patel via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Is there a compile-time and/or potential runtime cost that makes
> enableInterleavedAccessVectorization() default to 'false'?
>
> I notice that this is set to true for ARM, AArch64, and PPC.
>
> In particular, I'm wondering if there's a reason it's not enabled for x86 in
> relation to PR27881:
> https://llvm.org/bugs/show_bug.cgi?id=27881
Hi...
2018 Feb 08
0
[RFC] Make LoopVectorize Aware of SLP Operations
...for loops operating on struct fields or doing complex math.
At the moment, LoopVectorize uses interleaving to vectorize loops that operate on values loaded/stored from consecutive addresses: vector loads/stores are generated to combine consecutive loads/stores and then shufflevector is used to de-interleave/interleave the loaded/stored values. At the moment however, we fail to detect cases where the same operations are applied to all consecutive values and there is no need to interleave. To illustrate this, consider the following example loop:
struct Test {
int x;
int y;
};
void add(struc...
2019 Sep 10
3
loop vectorizer disabling
I would like to propose that loop pragma `vectorize(disable)` actually means disabling the vectorizer for that loop. This perhaps sounds really obvious (I hope it does), but currently `vectorize(disable)` sets the vectorization width to 1, and that means the vectorizer will run and could perform other tricks such as interleaving. The main reason to change the behaviour is that it will be more what
2019 Apr 22
1
Compress interleaved multi-channels pcm/wav with opus
Hello everyone,
I tried to compress audio with opus-1.3.1/src/opus_demo.c recently, which works fine on mono and stereo data .
Now I want to compress interleaved 7 channels pcm/wav ( recorded by Microphone array :6mic+ 1reference signal ) with opus, But I have not found an interface that compress multi-channels pcm/wav.
1、Is there a multi-channel compression interface can be used in my case?
If so, where is it, and how can I call it? is there a demo?
If i...
2010 Nov 03
1
[LLVMdev] LLVM x86 Code Generator discards Instruction-level Parallelism
...the latency of the floating-point functional
unit in my Intel Core2 Quad (Q9550 at 2.83 GHz).
The microbenchmark itself replicates the following block 512 times:
.
.
{
p1 = p1 * a;
p2 = p2 * b;
p3 = p3 * c;
p4 = p4 * d;
}
.
.
Compiling with NVCC, Ocelot, and LLVM, I can confirm the interleaved instruction
schedule with a four-instruction reuse distance. An excerpt follows:
.
.
%r1500 = fmul float %r1496, %r24 ; compute %1500
%r1501 = fmul float %r1497, %r23
%r1502 = fmul float %r1498, %r22
%r1503 = fmul float %r1499, %r21
%r1504 = fmul float %r1500, %r24 ; first use of...
2016 Sep 01
2
enabling interleaved access loop vectorization
...hovsky at intel.com>; Renato Golin <renato.golin at linaro.org>; Matthew Simpson <mssimpso at codeaurora.org>; Nema, Ashutosh <Ashutosh.Nema at amd.com>; Sanjay Patel <spatel at rotateright.com>; llvm-dev <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] enabling interleaved access loop vectorization
So, at least for this example, it looks like we actually want to vectorize with -enable-interleaved-mem-accesses, we just need the backend to generate good code for the vector types that produces, specifically, in this case, <12 x i8>. The details are in PR29025....
2016 Nov 28
2
Loop Vectorize: Testing cost model driven transformations
...ntinuation of a discussion over at
https://reviews.llvm.org/D26869.
Hi all,
In a discussion over on llvm-commits, we are debating how best to test loop
vectorization transformations that are guided by the cost model. The cost
model is currently used primarily for determining the vectorization and
interleave factors. Both of these parameters are easily overridden with
command line flags, which enables us to create target-independent tests.
Tests that rely on specific TTI hooks and instruction costs are placed
under the target-specific directories. Target-independent tests are great
because we don't...
2016 Aug 17
2
enabling interleaved access loop vectorization
...* Renato Golin <renato.golin at linaro.org>; Matthew Simpson <
> mssimpso at codeaurora.org>; Nema, Ashutosh <Ashutosh.Nema at amd.com>; Sanjay
> Patel <spatel at rotateright.com>; llvm-dev <llvm-dev at lists.llvm.org>
>
> *Subject:* Re: [llvm-dev] enabling interleaved access loop vectorization
>
>
>
> Hi Ayal, Elena,
>
>
>
> I'd really like to enable this by default.
>
>
>
> As I wrote above, I didn't see any regressions in internal benchmarks, and
> there doesn't seem to be anything in SPEC2006 either. I do se...
2016 Aug 09
2
enabling interleaved access loop vectorization
...at intel.com> wrote:
> > We also need to understand what to do with edge elements in the vector
> if their loading is not required. We, probably, should issue a masked load
> in this case.
>
>
>
> The existing code solves such edge cases where the last element of an
> InterleaveGroup is absent by making sure the last iteration (and up to last
> VF iterations) are peeled and executed scalarly; see requiresScalarEpilogue.
>
>
>
>
>
> > All regressions that we see are in 32-bit mode.
>
>
>
> One place to find them, using the default BaseT::...
2005 Nov 13
3
OggPCM format description, rev 3
...in all this is a huge PITA. In comparison
> to FLAC, Speex and Vorbis, APDCM formats have little to offer.
No objection here. I'd like to see someone other than myself go through
and cull the list of formats into whatever a practical subset is. As long
as it does 16 bit signed little endian interleaved, I'll be happy.
> I still think that assigning meaning to bits within the format field
> is a mistake. Specifying bits like this could only be useful if
> you expect the decoder to generate code on the fly when it gets
> asked to decode say 16 bit, unsigned, little endian. Auto ge...
2005 Nov 15
0
OggPCM2 : chunked vs interleaved data
On 11/15/05, Erik de Castro Lopo <mle+xiph@mega-nerd.com> wrote:
> Hi all,
>
> The remaining issue to be decided for the OggPCM2 spec is the support
> of chunked vs interleaved data.
I think interleaved is the obvious choice - that's what most audio
applications are used to dealing with, it's what we need to feed to
audio hardware in the end usually, etc.
Whilst I accept that there are many good uses for chunked data, I
think the transformation is trivial, part...
2002 May 27
2
Interleaved writes fwom W2K and NT4
Hi Jerry
I'm still able to recreate failures in with 2.2.4 when interleaving file
creation/writing from W2k and NT4 machines to a Samba server. I orginally
reported this in 2.2.2a, also 2.2.3:
http://lists.samba.org/pipermail/samba/2001-December/063396.html
http://lists.samba.org/pipermail/samba/2002-January/063483.html
http://lists.samba.org/pipermail/samba/2002-February/067221.html
I sent
2005 Jun 06
1
Interleave cells with IP over ATM?
Anyone know if it''s possible to interleave two IP packets when using
PPPoA and VC based lines? Can it be done with any PPPoE implementations?
The goal is to reduce the delay when you have a high priority packet
waiting, but a lower priority (large) packet already started going out
ahead of this packet. I don''t want the overhe...