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