Skip to content

Commit d714cf5

Browse files
committed
* _gpu.cu float info fprintf(std~~err~~out...)
1 parent d0416e5 commit d714cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rawspec_gpu.cu

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ int rawspec_initialize(rawspec_context * ctx)
501501
} else if(!ctx->float_data && ctx->Nbps != 8 && ctx->Nbps != 16) {
502502
NbpsIsExpanded = ctx->Nbps == 4;
503503
fprintf(
504-
stderr,
504+
stdout,
505505
"Nbps cannot be %d for integer data, %s 8.\n",
506506
ctx->Nbps,
507507
NbpsIsExpanded ? "upscaling to" : "treating as"
@@ -510,7 +510,7 @@ int rawspec_initialize(rawspec_context * ctx)
510510
ctx->Nbps = 8;
511511
} else if(ctx->float_data && ctx->Nbps != 16 && ctx->Nbps != 32) {
512512
fprintf(
513-
stderr,
513+
stdout,
514514
"Nbps cannot be %d for floating-point data, treating as 16.\n",
515515
ctx->Nbps
516516
);

0 commit comments

Comments
 (0)