search for: vint

Displaying 9 results from an estimated 9 matches for "vint".

Did you mean: int
2010 Dec 09
0
[LLVMdev] [cfe-dev] OpenCL support
...turned by a system-defined intrinsic > function dependent on the current work item. (The system knows what > work groups are in flight, which is why you need a system-defined > intrinsic.) > > So a kernel function like this: > > void foo(__global int*A) { > __local int vint; > __local int *vpint; > __local int const *vcpint; > __local int volatile vvint; > int a = A[0]; > vint = a; > vvint = a; > int a2 = vint; > int va2 = vvint; > barrier(CLK_LOCAL_MEM_FENCE); > A[0] = a2 + va2; > } > [Villmow, Micah]...
2010 Dec 07
3
[LLVMdev] [cfe-dev] OpenCL support
...copy of that struct. The pointer is returned by a system-defined intrinsic function dependent on the current work item. (The system knows what work groups are in flight, which is why you need a system-defined intrinsic.) So a kernel function like this: void foo(__global int*A) { __local int vint; __local int *vpint; __local int const *vcpint; __local int volatile vvint; int a = A[0]; vint = a; vvint = a; int a2 = vint; int va2 = vvint; barrier(CLK_LOCAL_MEM_FENCE); A[0] = a2 + va2; } is translated to this, which does pass through Clang, with __local meaning a...
2009 Jan 13
0
[LLVMdev] llvm-gcc doesnt honor volatile quantifier of the array type?
...element twice, llvm-gcc still does the right thing but llvm-g++ does not (i.e. it fails to read aech location twice). Current versions of gcc/g++ also look wrong. All 4 compilers (gcc,g++,llvm-gcc,llvm-g++) do the right thing when the array is global. John #define N 3 typedef volatile int vint; int sum(vint a[N]) { int sum = 0; unsigned i; for (i = 0; i < N; i++) sum += a[i] + a[i]; return sum; } On Tue, 13 Jan 2009, Zhou Sheng wrote: > Hi, > > > I encountered a problem about volatile quantifier when using llvm-gcc, here > is the example: > >...
2009 Jan 13
2
[LLVMdev] llvm-gcc doesnt honor volatile quantifier of the array type?
Hi, I encountered a problem about volatile quantifier when using llvm-gcc, here is the example: #define N 10 int sum(volatile int a[N]) { int sum = 0; unsigned i = 0; for (i = 0; i < N; ++i) sum += a[i]; return sum; } If I compile it as C code, then llvm-gcc will dump: define i32 @sum(i32* nocapture %a) nounwind { bb1.thread: %0 = volatile load i32* %a, align 4
2010 Dec 06
0
[LLVMdev] [cfe-dev] OpenCL support
> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Peter Collingbourne > Sent: Monday, December 06, 2010 2:56 PM > To: David Neto > Cc: cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] [cfe-dev] OpenCL support > > Hi David, > > On Mon, Dec 06, 2010 at 11:14:42AM -0500,
2010 Dec 06
2
[LLVMdev] [cfe-dev] OpenCL support
Hi David, On Mon, Dec 06, 2010 at 11:14:42AM -0500, David Neto wrote: > >> It > >> seems it would be a good idea to transform the code so that uses of x > >> become loads and stores from memory, and the address for that memory > >> is returned by a builtin function that itself is dependent on work > >> group ids. > >> > >> I'm
2014 May 10
2
some trouble when devising skiplist
Hi, I was confronted with some trouble, I describe the trouble in my journal http://trac.xapian.org/wiki/GSoC2014/Posting%20list%20encoding%20improvements/Journal#May10 And corresponding code is in my git. Would you like to give me some help? ------------------ Shangtong Zhang,Second Year Undergraduate, School of Computer Science, Fudan University, China. -------------- next part
2004 Aug 06
5
Stallman @ NYU
I did manage to dv-tape this from the front row, and thus got pretty fair audio, but a slightly awkward camera angle. NYU Media Lab had a tripod set up at the back, and were apparently intending to webcast the results via real. They were a little taken aback when I mentioned Richard's aversion to propietary formats, and thanked me profusely for pointing it out, and saving them grief.
2009 Jul 20
0
No subject
...#39;&quot;213&quot;=20 &lt;sip:213 at my_extern_ip&gt;&#39; failed for &#39;116 .124.128.82 &#39;- Wr= ong=20 password <br> <br> </span><span style=3D"background-color: rgb(255, 255, 255);" title=3D"Pelo = que contei existe em torno de vinte mil registros desse em=20 uma hora." onmouseover=3D"this.style.backgroundColor=3D&#39;#ebeff9&#39;" o= nmouseout=3D"this.style.backgroundColor=3D&#39;#fff&#39;">From what I told = there is around twenty thousand records that at one time. </span>&l...