From edaa3a392bf7b80f636f07511790b9a5fc47fd78 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 22 Feb 2010 14:20:59 +0100 Subject: Report when setting up GPU --- src/diffraction-gpu.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/diffraction-gpu.c') diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index 1da23e91..bd9f7baa 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -264,6 +264,8 @@ struct gpu_context *setup_gpu(int no_sfac, struct image *image, if ( molecule == NULL ) return NULL; + STATUS("Setting up GPU..."); fflush(stderr); + /* Generate structure factors if required */ if ( !no_sfac ) { if ( molecule->reflections == NULL ) { @@ -362,6 +364,8 @@ struct gpu_context *setup_gpu(int no_sfac, struct image *image, return NULL; } + STATUS("done\n"); + return gctx; } -- cgit v1.2.3