Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
@ 2023-05-17 18:16 Mek101
  2023-05-18 11:39 ` lorn10
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: Mek101 @ 2023-05-17 18:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

New issue by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921

Description:
### Is this a new report?

Yes

### System Info

Void 6.2.15_1 x86_64 AuthenticAMD notuptodate rrFFFF

### Package(s) Affected

mesa-22.3.5_2 mesa-opencl-22.3.5_2 libllvm15-15.0.7_1

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

_No response_

### Expected behaviour

The system should run the Tensorflow model with OpenCL 1.1

### Actual behaviour

Running some models causes the OpenCL implementation (Mesa's Clover) to call `llvm::TargetInstrInfo::ReplaceTailWithBranchTo()` from `/usr/lib/libLLVM-15.so`, which itself is provided by the `libllvm15` package. This function call causes a segmentation fault (verified via `gdb`).

### Steps to reproduce

- Ensure Mesa uses Clover as an OpenCL implementation
- Donwload an affected TensorFlow Lite model (at least `squeezenet` in my case)
- Compile TensorFlow Lite's benchmark with GPU support.
- Run it with the `--use_gpu=true --gpu_backend="cl"` options.
- Observe the segmentation fault

In my particular case I'm using an old Radeon 8670D, a Terascale 3 iGPU with the `radeon` kernel driver.

Squeezenet: https://tfhub.dev/tensorflow/lite-model/squeezenet/1/default/1

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
@ 2023-05-18 11:39 ` lorn10
  2023-05-18 11:40 ` lorn10
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 11:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1552931042

Comment:
Hi!

Just for the sake of completeness it should be added here that this topic may have some direct or indirect relations with an open TeraScale 3 LLVM bug: https://github.com/llvm/llvm-project/issues/54942.

And also here a proposed solution _could_ be the [AMDGPU/R600: Special case addrspacecast lowering for null](https://github.com/llvm/llvm-project/commit/17069608940d22cd6266afb948443b11793f0a57) LLVM fix. :wink: 

Based on the available information, the proposed LLVM fix should be applied to all Radeon GPU with "flat address spaces" limitations which would mean TeraScale 2/3 and even GCN1.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
  2023-05-18 11:39 ` lorn10
@ 2023-05-18 11:40 ` lorn10
  2023-05-18 11:43 ` lorn10
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 11:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 751 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1552931042

Comment:
Hi!

Just for the sake of completeness it should be added here that this topic may have some direct or indirect relations with an open TeraScale 3 LLVM bug: https://github.com/llvm/llvm-project/issues/54942.

And also here a proposed solution _could_ be the [AMDGPU/R600: Special case addrspacecast lowering for null](https://github.com/llvm/llvm-project/commit/17069608940d22cd6266afb948443b11793f0a57) LLVM fix. :wink: 

Based on the available information, the proposed LLVM fix should be applied to all Radeon GPUs with "flat address spaces" limitations which would mean TeraScale 2/3 and even GCN1.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
  2023-05-18 11:39 ` lorn10
  2023-05-18 11:40 ` lorn10
@ 2023-05-18 11:43 ` lorn10
  2023-05-18 12:11 ` Mek101
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 11:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 891 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1552931042

Comment:
Hi!

Just for the sake of completeness it should be added here that this topic may have some direct or indirect relations with an open TeraScale 3 LLVM bug: https://github.com/llvm/llvm-project/issues/54942.

And also here a proposed solution _could_ be the [AMDGPU/R600: Special case addrspacecast lowering for null](https://github.com/llvm/llvm-project/commit/17069608940d22cd6266afb948443b11793f0a57) LLVM fix. :wink: 

Based on the available information, the proposed LLVM fix should be applied to all Radeon GPUs with "flat address spaces" limitations which would mean TeraScale 2/3 and even GCN1.

**Edit**:  More information can be found also in the TeraScale 2 LLVM bug report here: https://github.com/llvm/llvm-project/issues/55679

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (2 preceding siblings ...)
  2023-05-18 11:43 ` lorn10
@ 2023-05-18 12:11 ` Mek101
  2023-05-18 13:09 ` lorn10
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 12:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 228 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1552963726

Comment:
The fix seems to be related to llvm 16 and 17 however. Does it need to be backported?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (3 preceding siblings ...)
  2023-05-18 12:11 ` Mek101
@ 2023-05-18 13:09 ` lorn10
  2023-05-18 13:50 ` Mek101
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 13:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553033691

Comment:
Yes, in theory that "flat address spaces" LLVM fix should be back-ported (because it seems quite important especially for older Radeon hardware) but most likely it won't be back-ported.

Until now, this important LLVM fix has not even been tested extensively. I must admit, I was so far simply not enough skilled in building an own LLVM plus Mesa. Will see when I find the motivation and time for that little adventure. :wink: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (4 preceding siblings ...)
  2023-05-18 13:09 ` lorn10
@ 2023-05-18 13:50 ` Mek101
  2023-05-18 13:55 ` lorn10
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 13:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553087412

Comment:
The question is if the file was substantially changed from 15 to 16. If it wasn't, I think one should be able to derive a patch from the commit and apply it during the package build by putting it in a `patches/` subdirectory

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (5 preceding siblings ...)
  2023-05-18 13:50 ` Mek101
@ 2023-05-18 13:55 ` lorn10
  2023-05-18 14:04 ` Mek101
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 13:55 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553094933

Comment:
Yeah, maybe someone should ask the original author **arsenm** if that would be possible. :+1: 

As told, I am at the moment not ready to dive into this matter. :wink: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (6 preceding siblings ...)
  2023-05-18 13:55 ` lorn10
@ 2023-05-18 14:04 ` Mek101
  2023-05-18 15:49 ` lorn10
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 14:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553110679

Comment:
It's fine. I managed to make a patch (only 60 lines). I'll try fixing it for xbps-src and build the whole thing later

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (7 preceding siblings ...)
  2023-05-18 14:04 ` Mek101
@ 2023-05-18 15:49 ` lorn10
  2023-05-18 15:49 ` lorn10
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 15:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 991 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553259426

Comment:
Great! 

And it looks that regarding the r600 driver + clover only Mesa MR https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7357 would be relevant to expose OpenCL 1.2 support. (The other two MRs are radeonsi related.) 

In the last comment of [Dave Airlie](https://gitlab.freedesktop.org/airlied) (in Mesa MR 7357) it is noted that that this MR includes as the last piece an improved "AMD LLVM backend patch". Everything other laded in separate commits. Whatever, that Mesa MR 7357 has been stalled for 2 years so it looks that at least a re-base would be needed to get it working again in 2023. :wink: 

Long story short, every testing result is of interest especially in regard to rusticl. So please report any relevant result back in Mesa [Tracker Rusticl on r600](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7420). Thanks!

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (8 preceding siblings ...)
  2023-05-18 15:49 ` lorn10
@ 2023-05-18 15:49 ` lorn10
  2023-05-18 19:43 ` Mek101
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 15:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 992 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553259426

Comment:
Great! 

And it looks that regarding the r600 driver + clover only Mesa MR https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7357 would be relevant to expose OpenCL 1.2 support. (The other two MRs are radeonsi related.) 

In the last comment of [Dave Airlie](https://gitlab.freedesktop.org/airlied) (in Mesa MR 7357) it is noted that that this MR includes as the last piece an improved "AMD LLVM backend patch". Everything other landed in separate commits. Whatever, that Mesa MR 7357 has been stalled for 2 years so it looks that at least a re-base would be needed to get it working again in 2023. :wink: 

Long story short, every testing result is of interest especially in regard to rusticl. So please report any relevant result back in Mesa [Tracker Rusticl on r600](https://gitlab.freedesktop.org/mesa/mesa/-/issues/7420). Thanks!

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (9 preceding siblings ...)
  2023-05-18 15:49 ` lorn10
@ 2023-05-18 19:43 ` Mek101
  2023-05-18 19:44 ` Mek101
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 19:43 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553559209

Comment:
The build fails because of errors outside of my patch. How did they build this in the first place :skull: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (10 preceding siblings ...)
  2023-05-18 19:43 ` Mek101
@ 2023-05-18 19:44 ` Mek101
  2023-05-18 20:39 ` lorn10
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 19:44 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 249 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553559209

Comment:
The build fails because of errors outside of my patch. How did they build this in the first place :skull: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (11 preceding siblings ...)
  2023-05-18 19:44 ` Mek101
@ 2023-05-18 20:39 ` lorn10
  2023-05-18 21:11 ` Mek101
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-18 20:39 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 537 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553616704

Comment:
Final addition, - when you get the chance please also try `clpeak` with this R600 LLVM fix and your Radeon HD 8670D. 

Maybe it works on TeraScale 3 also without any patching but on TeraScale 2 based GPUs (like Juniper, Turks, Cayman) that little bench tool is broken since literally ever. (Mesa bug [586](https://gitlab.freedesktop.org/mesa/mesa/-/issues/586) has more information about it.)

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (12 preceding siblings ...)
  2023-05-18 20:39 ` lorn10
@ 2023-05-18 21:11 ` Mek101
  2023-05-18 21:14 ` Mek101
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 21:11 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 275 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553651069

Comment:
Patched with https://github.com/llvm/llvm-project/commit/17069608940d22cd6266afb948443b11793f0a57

Still segfaults :disappointed: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (13 preceding siblings ...)
  2023-05-18 21:11 ` Mek101
@ 2023-05-18 21:14 ` Mek101
  2023-05-18 21:16 ` Mek101
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 21:14 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553654481

Comment:
According to `gdb` the segfault comes from a `getNop()`, however considering that it also gave me that function before I installed the debug package for the original `libllvm15.so`, it's likely that the function segfaulting is still `llvm::TargetInstrInfo::ReplaceTailWithBranchTo()`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (14 preceding siblings ...)
  2023-05-18 21:14 ` Mek101
@ 2023-05-18 21:16 ` Mek101
  2023-05-18 21:19 ` Mek101
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 21:16 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 391 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553655931

Comment:
Here is the patch for reference. It compiles fine. [AMDGPU-R600-Special-case-addrspacecast-lowering-for-null.patch.txt](https://github.com/void-linux/void-packages/files/11511653/AMDGPU-R600-Special-case-addrspacecast-lowering-for-null.patch.txt)


^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (15 preceding siblings ...)
  2023-05-18 21:16 ` Mek101
@ 2023-05-18 21:19 ` Mek101
  2023-05-18 21:23 ` Mek101
  2023-05-19 11:45 ` lorn10
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 21:19 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 642 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553659060

Comment:
> And it looks that regarding the r600 driver + clover only Mesa MR https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7357 would be relevant to expose OpenCL 1.2 support. (The other two MRs are radeonsi related.)
> 
> In the last comment of [Dave Airlie](https://gitlab.freedesktop.org/airlied) (in Mesa MR 7357) it is noted that that this MR includes as the last piece an improved "AMD LLVM backend patch".

It seems that the only changes in the commit are those for a `printf` support?

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (16 preceding siblings ...)
  2023-05-18 21:19 ` Mek101
@ 2023-05-18 21:23 ` Mek101
  2023-05-19 11:45 ` lorn10
  18 siblings, 0 replies; 20+ messages in thread
From: Mek101 @ 2023-05-18 21:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 574 bytes --]

New comment by Mek101 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1553662682

Comment:
> Final addition, - when you get the chance please also try `clpeak` with this R600 LLVM fix and your Radeon HD 8670D.
> 
> Maybe it works on TeraScale 3 also without any patching but on TeraScale 2 based GPUs (like Juniper, Turks, Cayman) that little bench tool is broken since literally ever. (Mesa bug [586](https://gitlab.freedesktop.org/mesa/mesa/-/issues/586) has more information about it.)

I can't find it in the repos

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() 
  2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
                   ` (17 preceding siblings ...)
  2023-05-18 21:23 ` Mek101
@ 2023-05-19 11:45 ` lorn10
  18 siblings, 0 replies; 20+ messages in thread
From: lorn10 @ 2023-05-19 11:45 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 789 bytes --]

New comment by lorn10 on void-packages repository

https://github.com/void-linux/void-packages/issues/43921#issuecomment-1554451077

Comment:
> It seems that the only changes in the commit are those for a printf support?

Yes, that's exactly the last thing (on Radeon GPUs) which is/was missing to advertise full OpenCL 1.2 support in clover. :+1: 

> I can't find it in the repos

Okay, then it is not avaiable in the void Linux repos. On Debian/Ubuntu it is present so I have only to enter:

`sudo apt  install clpeak`
or
`sudo snap install clpeak`

Whatever, - thanks for testing! And maybe you open a new bug report on the [llvm-project issue tracker](https://github.com/llvm/llvm-project/issues) about the `llvm::TargetInstrInfo::ReplaceTailWithBranchTo()` error. :wink: 

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-05-19 11:45 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 18:16 [ISSUE] Mesa Clover OpenCL crashes on llvm::TargetInstrInfo::ReplaceTailWithBranchTo() Mek101
2023-05-18 11:39 ` lorn10
2023-05-18 11:40 ` lorn10
2023-05-18 11:43 ` lorn10
2023-05-18 12:11 ` Mek101
2023-05-18 13:09 ` lorn10
2023-05-18 13:50 ` Mek101
2023-05-18 13:55 ` lorn10
2023-05-18 14:04 ` Mek101
2023-05-18 15:49 ` lorn10
2023-05-18 15:49 ` lorn10
2023-05-18 19:43 ` Mek101
2023-05-18 19:44 ` Mek101
2023-05-18 20:39 ` lorn10
2023-05-18 21:11 ` Mek101
2023-05-18 21:14 ` Mek101
2023-05-18 21:16 ` Mek101
2023-05-18 21:19 ` Mek101
2023-05-18 21:23 ` Mek101
2023-05-19 11:45 ` lorn10

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).