diff options
author | Thomas White <taw@physics.org> | 2010-02-23 14:48:00 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-23 14:48:00 +0100 |
commit | 0fca55c11c285cd5f9d246cdee71665ff116b6df (patch) | |
tree | 3eeb65cb011f027fa950ce915ec86714cf7e5b17 /src | |
parent | 1441cfd98cc7f1d63b187d4c338a0b88f53124e6 (diff) |
Tidy up console output
Diffstat (limited to 'src')
-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); |