[Mesa-dev] [PATCH 0/3] cl workdim v2
Jan Vesely
jan.vesely at rutgers.edu
Wed Aug 6 14:36:16 PDT 2014
This respin includes Francisco's approach of providing implicit
in the arg vector passed from clover, and Tom's idea of appending
implicit args after the kernel args.
I assumed it's not safe to modify exec.input, so the input vector is copied
before appending work dim.
Passes get-work-dim piglit on turks without any regression,
I have not tested SI as I don't have the hw.
jan
Jan Vesely (3):
gallium: Pass input data size to launch_grid
clover: Add work dimension implicit param to input
r600,radeonsi: Copy implicit args provided by clover
src/gallium/drivers/ilo/ilo_gpgpu.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_compute.c | 2 +-
src/gallium/drivers/nouveau/nvc0/nvc0_context.h | 4 +-
src/gallium/drivers/nouveau/nvc0/nve4_compute.c | 2 +-
src/gallium/drivers/r600/evergreen_compute.c | 14 +-
src/gallium/drivers/r600/evergreen_compute.h | 1 -
src/gallium/drivers/radeonsi/si_compute.c | 6 +-
src/gallium/include/pipe/p_context.h | 2 +-
src/gallium/state_trackers/clover/core/kernel.cpp | 162 ++++++++++++----------
src/gallium/tests/trivial/compute.c | 40 +++---
10 files changed, 122 insertions(+), 113 deletions(-)
--
1.9.3
More information about the mesa-dev
mailing list