diff src/gpu/ptx/vm/kernelArguments.hpp @ 11527:c99e65785936

Improvements to PTX codegen; allows more PTX tests that run on the device to pass.
author bharadwaj
date Wed, 04 Sep 2013 10:47:37 -0400
parents 49bb1bc983c6
children
line wrap: on
line diff
--- a/src/gpu/ptx/vm/kernelArguments.hpp	Wed Sep 04 14:56:30 2013 +0200
+++ b/src/gpu/ptx/vm/kernelArguments.hpp	Wed Sep 04 10:47:37 2013 -0400
@@ -56,6 +56,7 @@
     _args = args;
     _success = true;
     _bufferOffset = 0;
+    _return_value_ptr = 0;
     if (!is_static) {
       // TODO : Create a device argument for receiver object and add it to _kernelBuffer
       tty->print_cr("{CUDA] ****** TODO: Support for execution of non-static java methods not implemented yet.");