Mercurial > hg > graal-compiler
comparison 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 |
comparison
equal
deleted
inserted
replaced
13654:32af063cc29c | 13655:fff17b5dff8a |
---|---|
415 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_Exception(), "[CUDA] Failed to copy value from device argument"); | 415 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_Exception(), "[CUDA] Failed to copy value from device argument"); |
416 return 0L; | 416 return 0L; |
417 } | 417 } |
418 thread->set_vm_result(return_val); | 418 thread->set_vm_result(return_val); |
419 } else if (returnTypeSize > 0) { | 419 } else if (returnTypeSize > 0) { |
420 jlong result; | |
421 status = gpu::Ptx::_cuda_cu_memcpy_dtoh(&primitiveReturnValue, device_return_value, T_LONG_BYTE_SIZE); | 420 status = gpu::Ptx::_cuda_cu_memcpy_dtoh(&primitiveReturnValue, device_return_value, T_LONG_BYTE_SIZE); |
422 if (status != GRAAL_CUDA_SUCCESS) { | 421 if (status != GRAAL_CUDA_SUCCESS) { |
423 tty->print_cr("[CUDA] *** Error (%d) Failed to copy value from device argument", status); | 422 tty->print_cr("[CUDA] *** Error (%d) Failed to copy value from device argument", status); |
424 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_Exception(), "[CUDA] Failed to copy value from device argument"); | 423 SharedRuntime::throw_and_post_jvmti_exception(thread, vmSymbols::java_lang_Exception(), "[CUDA] Failed to copy value from device argument"); |
425 return 0L; | 424 return 0L; |