From 0fca55c11c285cd5f9d246cdee71665ff116b6df Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 23 Feb 2010 14:48:00 +0100 Subject: Tidy up console output --- src/diffraction-gpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/diffraction-gpu.c b/src/diffraction-gpu.c index 265d0171..b1f0860a 100644 --- a/src/diffraction-gpu.c +++ b/src/diffraction-gpu.c @@ -269,8 +269,6 @@ 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 ) { @@ -279,6 +277,8 @@ struct gpu_context *setup_gpu(int no_sfac, struct image *image, } } + STATUS("Setting up GPU..."); fflush(stderr); + err = clGetPlatformIDs(8, platforms, &nplat); if ( err != CL_SUCCESS ) { ERROR("Couldn't get platform IDs: %i\n", err); -- cgit v1.2.3