search for: opencl

Displaying 20 results from an estimated 1284 matches for "opencl".

2011 Oct 19
5
[LLVMdev] ANN: libclc (OpenCL C library implementation)
Hi, This is to announce the availability of libclc, an open source, BSD licensed implementation of the library requirements of the OpenCL C programming language, as specified by the OpenCL 1.1 Specification. libclc is intended to be used with Clang's OpenCL frontend. libclc website: http://www.pcc.me.uk/~peter/libclc/ libclc is designed to be portable and extensible. To this end, it provides generic implementations of most libr...
2019 Sep 26
3
Execute OpenCL
Hi Alexey, Your reply has been a great help to me,your way of explain the different types of compilation is very detailed and easy to understand. Even so, I have a couple of questions. 1) What do yourefer by OpenCL RT? 2) Could you give me some examples of an open-source OpenCL implementation and update optimization pipeline? Thank you in advance. Regards El vie., 20 sept. 2019 a las 12:34, Sachkov, Alexey (< alexey.sachkov at intel.com>) escribió: > Hi Enrique, > > > > > First, I...
2011 Oct 19
6
[LLVMdev] ANN: libclc (OpenCL C library implementation)
Hi everybody, the compiler design lab at Saarland University (chair of Sebastian Hack) is also working on an LLVM-based OpenCL driver. The project started as a use-case for our "Whole-Function Vectorization" library, which allows to transform a function to compute the same as W executions of the original code by using SIMD instructions (W = 4 for SSE/AltiVec, 8 for AVX). The algorithm, a few details on the O...
2019 Sep 19
2
Execute OpenCL
...could finally do it, so now im trying to use this tools for generating a bytecode, then apply it modular optimizations and then generate an executable to test the result. First, I only want to compile a project and execute it to see how it works, specifically this one: https://github.com/rsnemmen/OpenCL-examples/tree/master/add_numbers Which commands would you use? I want to do that the .c file uses the .cl that i have compiled before with clang and i do not know how to do it. Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llv...
2012 Sep 11
4
[LLVMdev] SPIR provisional specifciation is now available in the Khronos website
...ading, Boaz -----Original Message----- From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Ouriel, Boaz Sent: Thursday, September 06, 2012 22:06 To: cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu Subject: [LLVMdev] "SPIR" - A Standard Portable IR for OpenCL Kernel Language Greetings All, I am sending this mail on behalf of the OpenCL Khronos members. **** Introduction **** Lately, Khronos has ratified a new provisional specification which is called SPIR. This specification standardizes an intermediate representation for the OpenCL kernel language....
2012 Sep 06
2
[LLVMdev] "SPIR" – A Standard Portable IR for OpenCL Kernel Language
Greetings All, I am sending this mail on behalf of the OpenCL Khronos members. **** Introduction **** Lately, Khronos has ratified a new provisional specification which is called SPIR. This specification standardizes an intermediate representation for the OpenCL kernel language. It is based on LLVM infrastructure and this is why I am sending this mail to t...
2011 Oct 19
0
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...the slides/pdf. Thanks, Micah > -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] > On Behalf Of Ralf Karrenberg > Sent: Wednesday, October 19, 2011 2:13 PM > To: llvmdev at cs.uiuc.edu > Subject: Re: [LLVMdev] ANN: libclc (OpenCL C library implementation) > > Hi everybody, > > the compiler design lab at Saarland University (chair of Sebastian > Hack) > is also working on an LLVM-based OpenCL driver. > > The project started as a use-case for our "Whole-Function > Vectorization" > li...
2011 Oct 19
1
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...ah > >> -----Original Message----- >> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] >> On Behalf Of Ralf Karrenberg >> Sent: Wednesday, October 19, 2011 2:13 PM >> To: llvmdev at cs.uiuc.edu >> Subject: Re: [LLVMdev] ANN: libclc (OpenCL C library implementation) >> >> Hi everybody, >> >> the compiler design lab at Saarland University (chair of Sebastian >> Hack) >> is also working on an LLVM-based OpenCL driver. >> >> The project started as a use-case for our "Whole-Function &gt...
2011 Oct 19
0
[LLVMdev] ANN: libclc (OpenCL C library implementation)
Do we have a list of these open-source LLVM-based OpenCL projects somewhere? Off the top of my head, we have: libclc: http://www.pcc.me.uk/~peter/libclc/ pocl: https://launchpad.net/pocl clover: http://cgit.freedesktop.org/~steckdenis/clover/ (I think that all of these have BSD- or MIT-style licenses). Are there any others? -Hal On Wed, 2011-10-19...
2012 Sep 11
0
[LLVMdev] SPIR provisional specifciation is now available in the Khronos website
...iginal Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Ouriel, Boaz > Sent: Thursday, September 06, 2012 22:06 > To: cfe-dev at cs.uiuc.edu; llvmdev at cs.uiuc.edu > Subject: [LLVMdev] "SPIR" - A Standard Portable IR for OpenCL Kernel Language > > Greetings All, > I am sending this mail on behalf of the OpenCL Khronos members. > > **** Introduction **** > Lately, Khronos has ratified a new provisional specification which is called SPIR. > This specification standardizes an intermediate representatio...
2008 Dec 16
2
[LLVMdev] OpenCL Frontend
There seems to be some interest these days in OpenCL. However for some projects, a issue they face to adopting OpenCL is requirements of maintaining two source trees: one for normal C code (for use on systems without OpenCL support or poor OpenCL performance) and another for OpenCL. I am interested in using LLVM to create a OpenCL frontend for multi...
2012 Sep 11
2
[LLVMdev] SPIR provisional specifciation is now available in the Khronos website
...e purpose is to differentiate between kernel and device functions. Another is to differentiate between the standard calling conventions that have device specific assumptions built into them. > > (b) Why disallow type conversion for vector types? (ss. 3.3) [Villmow, Micah] Type conversions in OpenCL between vector types is doing via builtin functions and not via implicit conversions, so there is no OpenCL code that can generate these conversions directly(OpenCL spec 6.2.1). In order to be portable, library functions cannot be lowered to their IR equivalent until after the device is known. >...
2015 Sep 29
2
OpenCL toolset (for AMD GPU)
On 09/29/2015 04:19 PM, Tom Stellard via llvm-dev wrote: > On Tue, Sep 29, 2015 at 01:20:57PM +0000, Paweł Bylica via llvm-dev wrote: >> Hi LLVM, >> >> I would like to compile OpenCL kernel for a specific AMD GPU target. Is it >> possible with the current clang/LLVM? >> >> I started by using `clang -x cl` but it looks like at least some OpenCL >> specific headers are missing (e.g. uint2 is not recognized as a type). >> >> Any links to documen...
2012 Sep 11
0
[LLVMdev] [cfe-dev] SPIR provisional specifciation is now available in the Khronos website
...an LLVM backend would be forced to change the calling convention back to something standard anyway. So what's the advantage of adding a semanticless calling convention over metadata? >> (b) Why disallow type conversion for vector types? (ss. 3.3) > [Villmow, Micah] Type conversions in OpenCL between vector types is doing > via builtin functions and not via implicit conversions, so there is no OpenCL > code that can generate these conversions directly(OpenCL spec 6.2.1). In order > to be portable, library functions cannot be lowered to their IR equivalent until > after the d...
2012 Sep 17
1
[LLVMdev] SPIR provisional specifciation is now available in the Khronos website
.... Functions marked with spirkrnl calling convention can be called by the host. Functions marked with spirkrnl calling convention are externally visible. > > (b) Why disallow type conversion for vector types? (ss. 3.3) [Villmow, Micah] There are a few reasons. 1) SPIR wants to map as close to OpenCL as possible and while the vector type conversions are well defined in LLVM and properly converts to scalar when needed, SPIR needs to be able to work with people who don't use LLVM. By adhering as close as possible to OpenCL C, the amount of work to support SPIR is reduced. 2) From what I'v...
2011 Oct 20
0
[LLVMdev] ANN: libclc (OpenCL C library implementation)
...were planning to add "vectorization" to our passes also, but if I understood the paper correctly your approach uses full speculation, which is all right for SIMD architectures but might not be so for multi-issue processors. The pocl project comes from a generalization of our work in using OpenCL as entry language for static ILP architectures (http://dx.doi.org/10.1109/ICSAMOS.2010.5642061), so we do not only focus on DLP but also ILP (ultimate goal of pocl is portable performance of OpenCL code among different platforms). Our idea was to use an hybrid method, with vectorized code in the u...
2015 Jun 17
6
[LLVMdev] [RFC] Proposal for Adding SPIRV Target
Here is the revised proposal for the LLVM/SPIR-V converter. Please comment. Thanks. Proposal of Adding SPIRV Target Background SPIR-V is a portable binary format for OpenCL kernels and GLSL shaders. A typical use case of SPIR-V is as follows: 1. An application developer uses Clang to compile an OpenCL kernel source code to a SPIR-V binary which is common for all OpenCL platforms. 2. The application developer ships the application containing the SPIR-V bin...
2009 Feb 02
2
[LLVMdev] OpenCL kernel to bitcode
Hi, is there any possibility to compile OpenCL kernels into LLVM-bitcode? Thanx, Nico
2009 Feb 10
0
[LLVMdev] OpenCL kernel to bitcode
I don't think I ever saw a response to this message. RapidMind reported that they are using OpenCL as well as LLVM but their press release wasn't clear about whether they do this. I'd be interested in hearing from Stefanus or anyone else there about how you use OpenCL and whether it is compiled to LLVM. --Vikram Associate Professor, Computer Science University of Illinois at Urba...
2012 Sep 06
2
[LLVMdev] "SPIR" ? A Standard Portable IR for OpenCL Kernel Language
On Sep 6, 2012, at 4:33 PM, "Ouriel, Boaz" <boaz.ouriel at intel.com> wrote: > **** Introduction **** > Lately, Khronos has ratified a new provisional specification which is called SPIR. > This specification standardizes an intermediate representation for the OpenCL kernel language. > It is based on LLVM infrastructure and this is why I am sending this mail to the LLVM mailing list. > Khronos members would like to initiate a review on the specification with the LLVM community. Hi Boaz, I am glad to hear that this OpenCL effort has made enough progres...