diff options
-rw-r--r-- | src/diffraction-gpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |