On Sat, Mar 01, 2014 at 11:51:24PM +0100, Bruno Jiménez wrote:
> Recently, llvm has changed to use c++11, so we also should use it
> ---
> src/gallium/state_trackers/clover/Makefile.am | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/src/gallium/state_trackers/clover/M
On Mon, Mar 03, 2014 at 08:03:23AM -0800, Tom Stellard wrote:
> ---
>
> This patch should work for older LLVM versions too.
Disregard this, there is a better fix already on the list.
-Tom
>
> configure.ac | 5 +
> src/gallium/sta
On Mon, Mar 03, 2014 at 08:05:26AM -0800, Tom Stellard wrote:
> On Sat, Mar 01, 2014 at 11:51:24PM +0100, Bruno Jiménez wrote:
> > Recently, llvm has changed to use c++11, so we also should use it
> > ---
> > src/gallium/state_trackers/clover/Makefile.am | 4 ++--
> > 1
pilation problems.
>
> XXX: Tom please update the wiki [1]. Currently it lists the old configure
> switch --with-llvm-shared-libs
I've updated the wiki.
The patch is:
Reviewed-by: Tom Stellard
>
> [1] http://dri.freedesktop.org/wiki/GalliumCompute/
>
> Cc:
And move its definition into r600_pipe_common.h; This struct is a just
a container for shader code and has nothing to do with LLVM.
---
src/gallium/drivers/r600/r600_llvm.c | 4 ++--
src/gallium/drivers/radeon/Makefile.am| 1 +
src/gallium/drivers/radeon/r600_pipe_common.h | 16
---
src/gallium/drivers/radeon/radeon_llvm_util.c | 35 --
.../state_trackers/clover/core/compiler.hpp| 3 +-
src/gallium/state_trackers/clover/core/device.cpp | 6 +++
src/gallium/state_trackers/clover/core/device.hpp | 1 +
src/gallium/state_trackers/clover/core/pro
IM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE
+ * SOFTWARE.
+ *
+ * Authors: Tom Stellard
+ *
+ */
+
+#include "radeon_elf_util.h"
+#include "r6
These are sometimes created by the shrink to boolean optimization in the
globalopt pass.
---
lib/Target/R600/SIISelLowering.cpp | 6 ++
test/CodeGen/R600/store.ll | 23 ---
2 files changed, 26 insertions(+), 3 deletions(-)
diff --git a/lib/Target/R600/SIISelLoweri
On Thu, Mar 06, 2014 at 11:57:29AM +0900, Michel Dänzer wrote:
> On Mit, 2014-03-05 at 21:25 -0500, Tom Stellard wrote:
> > And move its definition into r600_pipe_common.h; This struct is a just
> > a container for shader code and has nothing to do with LLVM.
>
> Well, i
On Thu, Mar 06, 2014 at 01:45:36PM +0100, Francisco Jerez wrote:
> Tom Stellard writes:
>
> > ---
> > src/gallium/drivers/radeon/radeon_llvm_util.c | 35 --
> > .../state_trackers/clover/core/compiler.hpp| 3 +-
> > src/gallium/state_t
On Fri, Mar 07, 2014 at 10:49:59AM +0900, Michel Dänzer wrote:
> From: Michel Dänzer
>
> llvm/Linker.h was moved to llvm/Linker/Linker.h.
>
> Signed-off-by: Michel Dänzer
Reviewed-by: Tom Stellard
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 4
This fixes the a build breakage caused by
6974eb907600b9d0176d3158ff0fd30ac3e56a55 on build configurations where
all the following are true:
1. radeonsi is not being built
2. r600g is being built
3. opencl is disabled
4. --enable-r600-llvm-compiler is not being used
5. libelf is not installed
---
This fixes the a build breakage caused by
6974eb907600b9d0176d3158ff0fd30ac3e56a55 on build configurations where
all the following are true:
1. radeonsi is not being built
2. r600g is being built
3. opencl is disabled
4. --enable-r600-llvm-compiler is not being used
5. libelf is not installed
v2:
On Sun, Mar 09, 2014 at 12:28:01AM +0530, ANUJ SHARMA wrote:
> Hello Sir ,
> I am Anuj Sharma from India. I am pursuing my M.Tech Degree at Indian
> Institute of Technology, Kanpur, India.
> Sir Where Can i get the more detail on what should we need to implement for
> the "OpenCL Image Support".
On Tue, Mar 11, 2014 at 12:37:15PM -0400, Jan Vesely wrote:
> On Tue, 2014-03-11 at 11:37 -0400, Jan Vesely wrote:
> > On Tue, 2014-03-11 at 15:09 +0100, Marek Olšák wrote:
> > > From: Marek Olšák
> > >
> > > v2: - allow byte-aligned DMA buffer copies on Evergreen
> > > - fix piglit/texsubima
full run on my Boanire system without hangs, so I would
feel better
if someone else was able to test these.
-Tom
>From a31bd001e5b2705c32edce4950bb403c1dc1f010 Mon Sep 17 00:00:00 2001
From: Tom Stellard
Date: Tue, 11 Mar 2014 10:11:55 -0400
Subject: [PATCH 1/3] R600/SI: Add generic checks
On Mon, Mar 17, 2014 at 03:36:37PM +, Dorrington, Albert wrote:
> I'm curious if there is any way to reset/restart the video card via Mesa or
> the libdrm drivers?
>
> I'm currently doing development against the OpenCL drivers, and getting the
> video card into a state where is will not resp
On Sun, Mar 16, 2014 at 12:14:29AM +0100, Marek Skalický wrote:
> Hi,
> My name is Marek Skalický. I am 20 years old and I study Applied
> informatics at Masaryk university in Brno.
> And I am interested in GSoC project about implementing OpenCL Image
> Support into r600g/radeonsi.
>
> I would lik
On Mon, Mar 17, 2014 at 10:50:18PM -0400, Aditya Avinash wrote:
> Hi,
> I am a student. I have experience in OpenCL for 3 years. I would like to
> know what need to be done exactly.
>
Hi,
The first thing you need to do is write a proposal. I would recommend
writing a rough draft, uploading it to
ecific
model numbers).
Don't worry if you don't have a supported AMD GPU. If your proposal is
accepted there will be plenty of time for you to get one and many of the
older Evergreen GPUs can be obtained very inexpensively.
-Tom
>
> On Tue, Mar 18, 2014 at 9:14 PM, Tom Stellard
f the llvm path happens to be where other libs also reside.
>
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=76082
Reviewed-by: Tom Stellard
> Signed-off-by: Ilia Mirkin
> ---
> configure.ac | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/configure.ac b/confi
On Fri, Mar 21, 2014 at 05:47:56PM +0100, Christian Zigotzky wrote:
> Hi All,
>
> I have compiled LLVM 3.4 and Mesa 10.0.4 without any changes.
>
> Here is the result of this test.
>
> -> glxinfo | grep OpenGL
>
> terminate called after throwing an instance of 'std::bad_alloc'
> what(): std:
On Mon, Mar 24, 2014 at 02:35:04PM +, Dorrington, Albert wrote:
> I have been experimenting with adding image support to the clover
> implementation, and have been trying to understand the differences between
> the existing buffer support and what would be required to support images.
>
> Fro
On Mon, Nov 10, 2014 at 07:04:54PM +0200, Francisco Jerez wrote:
> EdB writes:
>
> > clCompileProgram should return CL_INVALID_COMPILER_OPTIONS
> > instead of CL_INVALID_BUILD_OPTIONS
>
> Looks good to me,
> Reviewed-by: Francisco Jerez
I've pushed this, thanks!
-Tom
>
> > ---
> > src/galli
On Mon, Dec 01, 2014 at 06:33:10PM -0500, Jan Vesely wrote:
> ping
I've pushed this, thanks.
-Tom
>
> On Mon, 2014-11-03 at 20:29 -0500, Jan Vesely wrote:
> > Signed-off-by: Jan Vesely
> > ---
> > src/gallium/drivers/r600/r600_llvm.c | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --g
On Mon, Nov 03, 2014 at 08:29:37PM -0500, Jan Vesely wrote:
> Signed-off-by: Jan Vesely
> ---
>
> moreover, the condition is never true now that clover appends dim info
>
> src/gallium/drivers/r600/evergreen_compute.c | 4
> 1 file changed, 4 deletions(-)
>
> diff --git a/src/gallium/driv
On Tue, Dec 02, 2014 at 02:47:53PM -0500, Jan Vesely wrote:
> Signed-off-by: Jan Vesely
I've pushed this, thanks!
-Tom
> ---
>
> You were right, this one was leaking too.
>
> src/gallium/drivers/r600/r600_llvm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/r6
As of r223183 EngineBuilder::setMCJITMemoryManager() takes a unique_ptr.
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 5 +
1 file changed, 5 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index fe3c754..5c01f53
This is the maximum value allowed for this field.
---
src/gallium/drivers/radeonsi/si_compute.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeonsi/si_compute.c
b/src/gallium/drivers/radeonsi/si_compute.c
index 6ddb478..bf935dc 100644
--- a/src/gallium/drivers/rade
All uses of this require that the value be at least one, so it's
easier to report at least one than having to wrap all uses
in MAX2(max_compute_units, 1).
---
src/gallium/drivers/radeon/r600_pipe_common.c | 2 +-
src/gallium/winsys/radeon/drm/radeon_drm_winsys.c | 2 ++
2 files changed, 3 inse
his correctly and
> would probably mangle the value badly.
>
Reviewed-by: Tom Stellard
> Cc: "10.4 10.3"
> Signed-off-by: Michel Dänzer
> ---
> src/gallium/drivers/radeonsi/si_state.c | 6 --
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
>
On Tue, Dec 09, 2014 at 05:42:42PM -0600, Aaron Watry wrote:
> Signed-off-by: Aaron Watry
Reviewed-by: Tom Stellard
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 4
> 1 file changed, 4 insertions(+)
>
> diff --git a/src/gallium/state_trackers/clover/l
On Sun, Dec 14, 2014 at 11:31:22AM +0100, EdB wrote:
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/gallium/state_trackers/clover/llvm/invocation.cpp
> b/src/gallium/state_trackers/clover/llvm/invoc
On Sun, Dec 14, 2014 at 11:31:23AM +0100, EdB wrote:
> OpenCL 1.2 make distinction between 3 binaries kind:
> executable as produce by clBuildProgram and clLinkProgam
> compiled as produce by clCompileProgram
> library as produce by clLinkProgam with -create-library option
s/produce/produced/
On Fri, Dec 19, 2014 at 10:21:59PM +0100, EdB wrote:
> On Friday, December 19, 2014 01:08:31 PM Tom Stellard wrote:
> > On Sun, Dec 14, 2014 at 11:31:22AM +0100, EdB wrote:
> > > ---
> > >
> > > src/gallium/state_trackers/clover/llvm/invocation.cpp | 6 +++---
---
src/gallium/drivers/radeon/r600_pipe_common.c | 11 +--
src/gallium/drivers/radeon/radeon_llvm_emit.c | 21 ++---
src/gallium/drivers/radeon/radeon_llvm_emit.h | 2 +-
src/gallium/drivers/radeonsi/si_pipe.c| 9 +++--
4 files changed, 27 insertions(+), 16 d
Rather than building a new one every compile. This should reduce some
of the overhead of compiling shaders.
One consequence of this change is that we lose the MachineInstrs dumps
when dumping the shaders via R600_DEBUG. The LLVM IR and assembly is
still dumped, and if you still want to see the M
On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote:
> On 24.12.2014 02:49, Tom Stellard wrote:
> > Rather than building a new one every compile. This should reduce some
> > of the overhead of compiling shaders.
>
> Thanks, though unfortunately it doesn't se
On Mon, Jan 05, 2015 at 12:18:43AM +0100, Marek Olšák wrote:
> From: Marek Olšák
>
> ---
> src/gallium/drivers/radeon/radeon_llvm_emit.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c
> b/src/gallium/drivers/radeon/radeon_llvm_emit.c
> in
d forget to also remove this attribute.
-Tom
> Marek
>
> On Wed, Jan 7, 2015 at 12:51 AM, Tom Stellard wrote:
> > On Mon, Jan 05, 2015 at 12:18:43AM +0100, Marek Olšák wrote:
> >> From: Marek Olšák
> >>
> >> ---
> >> src/gallium/driver
On Wed, Jan 07, 2015 at 12:58:12PM +0100, Marek Olšák wrote:
> How about the attached patch?
>
Looks good, thanks.
Reviewed-by: Tom Stellard
> Marek
>
> On Wed, Jan 7, 2015 at 1:23 AM, Tom Stellard wrote:
> > On Wed, Jan 07, 2015 at 01:13:37AM +0100, Marek Olšák wrot
We need to dispose the cached LLVMTargetMachine before calling
r600_destory_common_screen(), because this function frees the si_screen
object which invalidates LLVMTargetMachine pointer.
https://bugs.freedesktop.org/show_bug.cgi?id=88170
---
src/gallium/drivers/radeonsi/si_pipe.c | 6 --
1 fi
On Mon, Jan 05, 2015 at 12:18:40AM +0100, Marek Olšák wrote:
> From: Marek Olšák
>
> - the relocs array is unused, remove it
> - ndw is at most 115 (init), set 140 as the maximum
> - compute needs 4 buffers per state, graphics only needs 1; set 4 as the
> maximum
The number of buffers per state
---
src/gallium/drivers/radeon/r600_pipe_common.h | 8 +
src/gallium/drivers/radeon/radeon_elf_util.c | 44 +--
2 files changed, 49 insertions(+), 3 deletions(-)
diff --git a/src/gallium/drivers/radeon/r600_pipe_common.h
b/src/gallium/drivers/radeon/r600_pipe_common
---
src/gallium/drivers/radeonsi/si_compute.c | 40 ++
src/gallium/drivers/radeonsi/si_shader.c| 69 -
src/gallium/drivers/radeonsi/si_shader.h| 7 ++-
src/gallium/drivers/radeonsi/si_state_shaders.c | 36 +++--
4 files changed, 10
This was inadvertently disabled by
761e36b4caab4e8e09a4c2b1409a825902fc7d2c.
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index
Instead of passing a pointer to the scratch buffer via user sgprs, we
now patch the shader with the buffer address using reloc information
from the LLVM generated ELF.
---
src/gallium/drivers/radeonsi/si_compute.c | 46 ---
1 file changed, 42 insertions(+), 4 deletions(
On Thu, Jan 08, 2015 at 07:00:11PM +0100, Marek Olšák wrote:
> On Wed, Jan 7, 2015 at 10:03 PM, Tom Stellard wrote:
> > ---
> > src/gallium/drivers/radeonsi/si_compute.c | 40 ++
> > src/gallium/drivers/radeonsi/si_shader.c| 69
> > +++
On Thu, Jan 08, 2015 at 07:51:58PM +0100, Marek Olšák wrote:
> On Thu, Jan 8, 2015 at 7:17 PM, Tom Stellard wrote:
> > On Thu, Jan 08, 2015 at 07:00:11PM +0100, Marek Olšák wrote:
> >> On Wed, Jan 7, 2015 at 10:03 PM, Tom Stellard
> >> wrote:
> >> > -
On Thu, Jan 08, 2015 at 01:46:32PM +0100, Marek Olšák wrote:
> On Wed, Jan 7, 2015 at 7:09 PM, Ilia Mirkin wrote:
> > On Wed, Jan 7, 2015 at 11:36 AM, Axel Davy wrote:
> >> We should use the absolute value of the input as input to ureg_RSQ.
> >>
> >> Moreover, an input of 0.0 should return FLT_MA
On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote:
> On 07.01.2015 10:10, Michel Dänzer wrote:
> > On 07.01.2015 06:33, Tom Stellard wrote:
> >> On Wed, Dec 24, 2014 at 12:48:31PM +0900, Michel Dänzer wrote:
> >>> On 24.12.2014 02:49, Tom Stellard wrote:
On Thu, Jan 15, 2015 at 07:25:56PM +0100, Niels Ole Salscheider wrote:
> Since 8e7df519bd8556591794b2de08a833a67e34d526, we initialise all targets in
> clover. This fixes bug 85189.
>
> Signed-off-by: Niels Ole Salscheider
Reviewed-by: Tom Stellard
> ---
> configure.ac | 2 +-
This was inadvertently disabled by
761e36b4caab4e8e09a4c2b1409a825902fc7d2c.
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index
---
src/gallium/drivers/radeon/radeon_elf_util.c | 6 ++
src/gallium/drivers/radeon/radeon_elf_util.h | 5 +
src/gallium/drivers/radeonsi/si_compute.c| 4 +---
src/gallium/drivers/radeonsi/si_shader.c | 4 +---
4 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/gal
v2:
- Use strdup for copying reloc names.
- Free reloc memory.
---
src/gallium/drivers/radeon/r600_pipe_common.h | 8
src/gallium/drivers/radeon/radeon_elf_util.c | 53 +--
src/gallium/drivers/radeon/radeon_elf_util.h | 7
3 files changed, 65 insertions(+)
v2:
- Only emit write SPI_TMPRING_SIZE once per packet.
- Use context global scratch buffers, one for each shader type.
---
src/gallium/drivers/radeon/radeon_elf_util.c| 10 ++-
src/gallium/drivers/radeon/radeon_elf_util.h| 5 +-
src/gallium/drivers/radeonsi/si_compute.c | 46
Instead of passing a pointer to the scratch buffer via user sgprs, we
now patch the shader with the buffer address using reloc information
from the LLVM generated ELF.
v2:
- Make sure not to break older LLVM.
---
src/gallium/drivers/radeonsi/si_compute.c | 42 +++
1
On Fri, Jan 16, 2015 at 11:44:36AM +0900, Michel Dänzer wrote:
> On 16.01.2015 09:48, Tom Stellard wrote:
> > - Use context global scratch buffers, one for each shader type.
>
> AFAICT the code actually uses a single buffer for all shader types. As
> we discussed before, that
On Wed, Jan 14, 2015 at 11:06:50AM +0900, Michel Dänzer wrote:
> On 14.01.2015 04:07, Tom Stellard wrote:
> > On Tue, Jan 13, 2015 at 06:47:00PM +0900, Michel Dänzer wrote:
> >> On 07.01.2015 10:10, Michel Dänzer wrote:
> >>> On 07.01.2015 06:33, Tom Stellard wrote:
v2:
- Only emit write SPI_TMPRING_SIZE once per packet.
- Use context global scratch buffer.
v3:
- Patch shaders using WRITE_DATA packet instead of map/unmap.
- Emit ICACHE_FLUSH, CS_PARTIAL_FLUSH, PS_PARTIAL_FLUSH, and
VS_PARTIAL_FLUSH when patching shaders.
---
src/gallium/drivers/r
On Tue, Sep 01, 2015 at 11:18:15PM +0200, Marek Olšák wrote:
> From: Marek Olšák
>
Reviewed-by: Tom Stellard
> Just a cleanup I had made a long time ago and forgot about.
> ---
> src/gallium/drivers/radeonsi/si_shader.c | 468
> +--
>
sing a wrong LLVM IR output.
>
> Signed-off-by: Oded Gabbay
> CC: "10.6"
> ---
You should add 11.0 to the CC too.
This patch is:
Reviewed-by: Tom Stellard
But I wonder why this function is being used for an integer value in the
first place.
-Tom
> src/gallium/auxiliar
On Thu, Sep 03, 2015 at 06:28:07PM +0200, Marek Olšák wrote:
> Sadly, this patch requires LLVM 3.5, which I didn't realize. Would it
> be okay to remove LLVM 3.4.2 support?
>
Yes, that would be fine.
-Tom
> Marek
>
> On Wed, Sep 2, 2015 at 7:48 PM, Tom Stellard wr
ve this circus of pain.
>
> Signed-off-by: Jon TURNEY
Reviewed-by: Tom Stellard
> ---
> configure.ac | 33 +++--
> 1 file changed, 27 insertions(+), 6 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 90ba4fe..9960dd0 100644
> ---
On Mon, Sep 07, 2015 at 10:06:49AM +0100, Emil Velikov wrote:
> Hi Jon,
>
> On 4 September 2015 at 14:00, Jon TURNEY wrote:
> > When checking for LLVM shared libraries, use IMP_LIB_EXT for the extension
> > for
> > shared libraries appropriate to the target, rather than hardcoding '.so'
> >
> >
Hi all,
XDC2015, is less than a week a way! I have posted a tentative schedule
on the wiki[1].
If you are a speaker and have questions about the schedule or want to
request a new time slot, please let me know. I will do my best, but I
may not be able to accommodate everyone's request.
Each pre
Hi,
I just wanted to pass along a few XDC updates:
- I have made some changes to the schedule, but it should still be
considered tentative. I will let announce once it has been finalized.
- There is an informal get together planned for Tuesday night if you
are in town early. Please sign up on
This fixes a race condition in the glx-multithreaded-shader-compile
test.
CC: "10.6 11.0"
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index
Drivers and state trackers that use LLVM for generating code, must
register the targets they use with LLVM's global TargetRegistry.
The TargetRegistry is not thread-safe, so all targets must be added
to the registry before it can be queried for target information.
When drivers and state trackers i
On Fri, Sep 25, 2015 at 02:19:53PM +0200, Marek Olšák wrote:
> On Thu, Sep 24, 2015 at 6:32 PM, Tom Stellard wrote:
> > This fixes a race condition in the glx-multithreaded-shader-compile
> > test.
> >
> > CC: "10.6 11.0"
> > ---
> > src/gallium
On Thu, Sep 24, 2015 at 10:48:32PM +0100, Emil Velikov wrote:
> Hi Tom,
>
> On 24 September 2015 at 17:31, Tom Stellard wrote:
> > Drivers and state trackers that use LLVM for generating code, must
> > register the targets they use with LLVM's global TargetRegistry.
>
On Sun, Sep 27, 2015 at 02:21:41PM +0200, Laurent Carlier wrote:
> llvm can be built with cmake in a libray with the name libLLVM.so.$version
>
Hi,
Thanks for working on this.
> Signed-off-by: Laurent Carlier
> ---
> configure.ac | 18 +-
> 1 file changed, 13 insertions(+), 5
On Mon, Sep 28, 2015 at 03:15:27PM +0100, Emil Velikov wrote:
> Hi Laurent,
>
> On 27 September 2015 at 13:21, Laurent Carlier wrote:
> > llvm can be built with cmake in a libray with the name libLLVM.so.$version
> >
> Do you know if this is intentional and consistent (i.e. all the build
> produc
This fixes a race condition in the glx-multithreaded-shader-compile
test.
v2:
- Replace gallivm_init_llvm_{begin,end}() with gallivm_init_llvm_targets().
CC: "10.6 11.0"
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/drivers
CC: "10.6 11.0"
---
src/gallium/drivers/radeon/radeon_llvm_emit.c | 25 -
1 file changed, 12 insertions(+), 13 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_llvm_emit.c
b/src/gallium/drivers/radeon/radeon_llvm_emit.c
index 0002559..5d93a4d 100644
--- a/src/
Drivers and state trackers that use LLVM for generating code, must
register the targets they use with LLVM's global TargetRegistry.
The TargetRegistry is not thread-safe, so all targets must be added
to the registry before it can be queried for target information.
When drivers and state trackers i
On Thu, Oct 01, 2015 at 03:40:45PM +0100, Emil Velikov wrote:
> On 30 September 2015 at 19:59, Tom Stellard wrote:
> > This fixes a race condition in the glx-multithreaded-shader-compile
> > test.
> >
> > v2:
> > - Replace gallivm_init_llvm_{begin,end}() wi
On Wed, Dec 30, 2015 at 09:32:38PM -0500, Nicolai Hähnle wrote:
> For Gallium-based drivers, this is required for receiving shader information
> via debug messages.
Patches 2-5 are
Acked-by: Tom Stellard
> ---
> run.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff
---
si-report.py | 56 ++--
1 file changed, 54 insertions(+), 2 deletions(-)
diff --git a/si-report.py b/si-report.py
index ec88112..e717af0 100755
--- a/si-report.py
+++ b/si-report.py
@@ -65,6 +65,12 @@ def get_scratch_str(value, suffixes = Tr
On Wed, Jan 06, 2016 at 01:41:22PM +0100, Marek Olšák wrote:
> Hi,
>
> These boring patches focus on restructuring pixel shader output handling and
> code around si_compile_llvm (config, dumping, etc.). They are mostly code
> movements and dividing functions into smaller ones, so that they can b
On Fri, Jan 22, 2016 at 03:18:13PM +0100, Marek Olšák wrote:
> From: Marek Olšák
>
Reviewed-by: Tom Stellard
> Requested by Matt Arsenault.
> ---
> src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 9 ++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
On Fri, Jan 22, 2016 at 03:18:12PM +0100, Marek Olšák wrote:
> From: Marek Olšák
>
> v2: account for LDS usage in PS
> the limit is per SIMD, not per CU
> ---
> src/gallium/drivers/radeonsi/si_shader.c | 54
> +---
> 1 file changed, 49 insertions(+), 5 deletions(
Hi,
>diff --git a/src/gallium/state_trackers/clover/api/program.cpp
>b/src/gallium/state_trackers/clover/api/program.cpp
>index 27ca2ef..f8d946e 100644
>--- a/src/gallium/state_trackers/clover/api/program.cpp
>+++ b/src/gallium/state_trackers/clover/api/program.cpp
>@@ -181,13 +181,20 @@ clBuildP
On Thu, Feb 04, 2016 at 09:15:26AM +0100, Nicolai Hähnle wrote:
> From: Nicolai Hähnle
>
> Set R600_DEBUG=preoptir to dump the LLVM IR before optimization passes,
> to allow diagnosing problems caused by optimization passes.
>
> Note that in order to compile the resulting IR with llc, you will f
---
src/gallium/drivers/r600/r600_llvm.c| 2 +-
src/gallium/drivers/radeon/radeon_llvm.h| 3 ++-
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 9 -
src/gallium/drivers/radeonsi/si_shader.c| 4 ++--
4 files changed, 13 insertions(+), 5 deletio
This functionality is not exposed via the LLVM C API.
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 30 +++
src/gallium/auxiliary/gallivm/lp_bld_misc.h | 7 +++
2 files changed, 37 insertions(+)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
b/src
This will prevent optimization passes from introducing unsupported
library calls.
---
src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c | 8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/src/gallium/drivers/radeon/radeon_setup_tgsi_llvm.c
b/src/gallium/drivers/radeon/rad
On Fri, Feb 05, 2016 at 08:55:17AM -0500, Nicolai Hähnle wrote:
> On 04.02.2016 13:52, Tom Stellard wrote:
> > On Thu, Feb 04, 2016 at 09:15:26AM +0100, Nicolai Hähnle wrote:
> >> From: Nicolai Hähnle
> >>
> >> Set R600_DEBUG=preoptir to dump the LLVM IR befor
On Thu, Feb 04, 2016 at 02:42:15PM -0800, Matt Arsenault wrote:
>
> > On Feb 4, 2016, at 13:02, Tom Stellard wrote:
> >
> > + LLVMSetTarget(ctx->gallivm.module,
> > +
> > +#if HAVE_LLVM < 0x0306
> > + "r600--");
On Sat, Feb 06, 2016 at 01:15:42PM +0100, Marek Olšák wrote:
> From: Marek Olšák
>
> This fixes FP16 conversion instructions for VI, which has 16-bit floats,
> but not SI & CI, which can't disable denorms for those instructions.
Do you know why this fixes FP16 conversions? What does the OpenGL
On Mon, Feb 08, 2016 at 09:38:32PM +0100, Marek Olšák wrote:
> On Mon, Feb 8, 2016 at 5:08 PM, Tom Stellard wrote:
> > On Sat, Feb 06, 2016 at 01:15:42PM +0100, Marek Olšák wrote:
> >> From: Marek Olšák
> >>
> >> This fixes FP16 conversion instructions for V
On Thu, Feb 11, 2016 at 01:59:25PM +1000, Dave Airlie wrote:
> Hey,
>
> So in Fedora rawhide we are now building llvm 3.7.1 into the lots of
> little shared libraries format.
>
This configuration is only recommended for developers.
See the documentation for BUILD_SHARED_LIBS:BOOL here:
http://
_llvm_calling_convention calling_conv;
>
This looks like you will get 'unused variable warnings' with this change.
Probably this easiest thing to do is put (void)variable_name somewhere, but
I'm not sure this is really a big deal.
Either way:
Reviewed-by: Tom Stellard
&g
On Tue, Apr 05, 2016 at 03:43:35PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer
>
> Signed-off-by: Michel Dänzer
I pushed this, thanks.
-Tom
> ---
> src/gallium/state_trackers/clover/llvm/invocation.cpp | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/src/gallium/state_track
On Wed, Apr 06, 2016 at 10:40:50PM +0100, Dave Airlie wrote:
> This probably should have been cleaned up before merging, but we
> were a bit lax with it. This is a bunch of cleanups and changes,
> that make adding ARB_compute_support less of a task.
>
Acked-by: Tom Stell
On Wed, Apr 13, 2016 at 03:59:36PM +0900, Michel Dänzer wrote:
> From: Michel Dänzer
>
> createInternalizePass now takes a callback instead of a StringSet.
>
> Signed-off-by: Michel Dänzer
Reviewed-by: Tom Stellard
> ---
> src/gallium/state_trackers/clover/llv
We're trying to move to more of the new style intrinsics with include
the correct target name, and map directly to ISA instructions.
---
src/gallium/drivers/radeonsi/si_shader.c | 12 ++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader
The ds_bpermute instruction allows threads to transfer data directly
to or from the vgprs of other threads. These instructions use the lds
hardware to transfer data, but do not read or write lds memory.
DDX BEFORE:| DDX AFTER:
|
v_mbcnt_
On Mon, Apr 18, 2016 at 10:14:35AM +0100, Jose Fonseca wrote:
> All power of two of up native vector length.
>
> There is actually a bug in lp_build_round for v2, whereby it doesn't
> round to nearest. Fixing is left to the future, but the test is now
> able to expect it to fail.
> ---
> src/gal
---
src/gallium/drivers/radeonsi/si_shader.c | 17 +++--
1 file changed, 11 insertions(+), 6 deletions(-)
diff --git a/src/gallium/drivers/radeonsi/si_shader.c
b/src/gallium/drivers/radeonsi/si_shader.c
index c26960b..3b6d6e9 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++
801 - 900 of 1703 matches
Mail list logo