Mercurial > hg > truffle
diff src/gpu/ptx/vm/gpu_ptx.cpp @ 11634:bff2b88444f5
Start of PTX array passing
author | Morris Meyer <morris.meyer@oracle.com> |
---|---|
date | Sat, 14 Sep 2013 17:31:25 -0400 |
parents | 4f69a5189e77 |
children | d8659ad83fcc |
line wrap: on
line diff
--- a/src/gpu/ptx/vm/gpu_ptx.cpp Fri Sep 13 17:54:59 2013 +0200 +++ b/src/gpu/ptx/vm/gpu_ptx.cpp Sat Sep 14 17:31:25 2013 -0400 @@ -170,7 +170,7 @@ int status = _cuda_cu_ctx_create(&_device_context, 0, _cu_device); if (status != GRAAL_CUDA_SUCCESS) { - tty->print_cr("[CUDA] Failed to create CUDA context for device: %d", _cu_device); + tty->print_cr("[CUDA] Failed to create CUDA context for device(%d): %d", _cu_device, status); return NULL; }