Displaying 2 results from an estimated 2 matches for "init_prog".
Did you mean:
init_proc
2015 Dec 22
0
Translating tests/trivial/compute.c gallium tests to opencl (input / help wanted)
..."ENDSUB\n";
void init(void *p, int s, int x, int y) {
@@ -485,16 +486,18 @@ static void test_system_values(struct context *ctx)
break;
}
}
+ uint32_t input;
printf("- %s\n", __func__);
- init_prog(ctx, 0, 0, 0, src, NULL);
+ init_prog(ctx, 0, 0, 4, src, NULL);
init_tex(ctx, 0, PIPE_BUFFER, true, PIPE_FORMAT_R32_FLOAT,
76800, 0, init);
- init_compute_resources(ctx, (int []) { 0, -1 });
- launch_grid(ctx, (uint []){4, 3, 5}, (uint []){5, 4, 1},...
2009 Dec 15
2
[PATCH 1/2] drm/nouveau: Kill global state in NvShadowBIOS
---
drivers/gpu/drm/nouveau/nouveau_bios.c | 47 ++++++++++++++-----------------
1 files changed, 21 insertions(+), 26 deletions(-)
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index 5eec5ed..04ac564 100644
--- a/drivers/gpu/drm/nouveau/nouveau_bios.c
+++ b/drivers/gpu/drm/nouveau/nouveau_bios.c
@@ -181,43 +181,42 @@ struct methods {
const char