Fix wrong error condition message master
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 3 Sep 2011 08:09:44 +0000 (10:09 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sat, 3 Sep 2011 08:09:44 +0000 (10:09 +0200)
babel.cc

index 7cc66ad..1a5dd1d 100644 (file)
--- a/babel.cc
+++ b/babel.cc
@@ -160,7 +160,7 @@ int main(int argc, char **argv) {
 
        /* copy memory up */
        error = clEnqueueWriteBuffer(queue, enc_d, false, 0, enc_size, enc_h, 0, NULL, NULL);
 
        /* copy memory up */
        error = clEnqueueWriteBuffer(queue, enc_d, false, 0, enc_size, enc_h, 0, NULL, NULL);
-       check_ocl_error(error, "getting results");
+       check_ocl_error(error, "loading encoded data");
 
        /* load and build program */
        char *prog_source = read_file("babel.cl");
 
        /* load and build program */
        char *prog_source = read_file("babel.cl");