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

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).