commit 27c3ed4a4b257ff403ad8dca61d88bd7aae35fb0
parent 35285d85ab7a48ebc1bdef446925b052d9e147ae
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Fri, 24 Jan 2020 16:38:30 +0100
Fix number of threads involved in test
Diffstat:
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/test_senc_cube_behind_cube.c b/src/test_senc_cube_behind_cube.c
@@ -244,7 +244,7 @@ main(int argc, char** argv)
(void)argc, (void)argv;
OK(mem_init_proxy_allocator(&allocator, &mem_default_allocator));
- OK(senc_device_create(NULL, &allocator, 1, 1, &dev));
+ OK(senc_device_create(NULL, &allocator, SENC_NTHREADS_DEFAULT, 1, &dev));
/* Create a scene with the first and second cubes.
* Both cubes have medium 1 inside and medium 0 outside,
diff --git a/src/test_senc_some_enclosures.c b/src/test_senc_some_enclosures.c
@@ -3382,7 +3382,7 @@ main(int argc, char** argv)
(void)argc, (void)argv;
OK(mem_init_proxy_allocator(&allocator, &mem_default_allocator));
- OK(senc_device_create(NULL, &allocator, 1, 1, &dev));
+ OK(senc_device_create(NULL, &allocator, SENC_NTHREADS_DEFAULT, 1, &dev));
/* Create a scene */
ctx.positions = some_enclosures_vertices;
diff --git a/src/test_senc_some_triangles.c b/src/test_senc_some_triangles.c
@@ -2699,7 +2699,7 @@ main(int argc, char** argv)
(void)argc, (void)argv;
OK(mem_init_proxy_allocator(&allocator, &mem_default_allocator));
- OK(senc_device_create(NULL, &allocator, 1, 1, &dev));
+ OK(senc_device_create(NULL, &allocator, SENC_NTHREADS_DEFAULT, 1, &dev));
/* Create a scene */
ctx.positions = some_triangles_vertices;