aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction-gpu.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-02-22 14:20:59 +0100
committerThomas White <taw@physics.org>2010-02-22 14:20:59 +0100
commitedaa3a392bf7b80f636f07511790b9a5fc47fd78 (patch)
tree2e6fbe0d7fa2e0c5c11a7065caa15a8e71ee8bfa /src/diffraction-gpu.c
parent5afecd5881dc9eddb4809582212431d511aa5005 (diff)
Report when setting up GPU
Diffstat (limited to 'src/diffraction-gpu.c')
-rw-r--r--src/diffraction-gpu.c4
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;
}