Mercurial > hg > graal-compiler
diff src/gpu/ptx/vm/gpu_ptx.cpp @ 13655:fff17b5dff8a
remove unreferenced local variable in gpu_ptx.cpp
author | Andreas Woess <andreas.woess@jku.at> |
---|---|
date | Thu, 16 Jan 2014 17:50:58 +0100 |
parents | 27acedac70b7 |
children | de839ec35cc7 |
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.cpp Thu Jan 16 12:18:29 2014 +0100 +++ b/src/gpu/ptx/vm/gpu_ptx.cpp Thu Jan 16 17:50:58 2014 +0100 @@ -417,7 +417,6 @@ } thread->set_vm_result(return_val); } else if (returnTypeSize > 0) { - jlong result; status = gpu::Ptx::_cuda_cu_memcpy_dtoh(&primitiveReturnValue, device_return_value, T_LONG_BYTE_SIZE); if (status != GRAAL_CUDA_SUCCESS) { tty->print_cr("[CUDA] *** Error (%d) Failed to copy value from device argument", status);