Summary: | Failed to allocate buffer on big endian machine - buffer size not byte swapped | ||
---|---|---|---|
Product: | Mesa | Reporter: | Bas Vermeulen <bas> |
Component: | Gallium/StateTracker/Clover | Assignee: | mesa-dev |
Status: | RESOLVED MOVED | QA Contact: | mesa-dev |
Severity: | normal | ||
Priority: | lowest | ||
Version: | 18.2 | ||
Hardware: | PowerPC | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Bas Vermeulen
2018-10-10 07:57:00 UTC
I've tracked it down to src/gallium/drivers/radeonsi/si_compute.c, functions si_switch_compute_shader and/or si_launch_grid, where amd_kernel_code_t is available in just little endian. A big endian system will read all the values inside the amd_kernel_code_t wrong (amd_kernel_code_t uses little endian). Investigating a potential problem in our application (we use binary opencl kernels instead of source opencl kernels). It looks like this is a problem on our side (our binary kernels are missing the amd_kernel_code info section?), but I'll let you know asap. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/145. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.