From b0271901e67fe17262b9ae82e68c5ba6f4e4666d Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Wed, 30 Oct 2024 09:52:12 -0400 Subject: print collision partition --- balls.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/balls.c b/balls.c index 1cfb1a3..41a6781 100644 --- a/balls.c +++ b/balls.c @@ -262,6 +262,8 @@ setCollisions(void) { part = partitionCollisions(NBALLS); collisionPartSize = part.size; + printf("Collision partition:\n"); + printPartition(part); /* Allocate array of buffers. */ if ((collisions = malloc(part.size*sizeof(cl_mem))) == NULL) -- cgit v1.2.3