1
1
- added preprocessor conditional for vt_cupti_events_enabled
	  (fixes compile error when CUDA-RT wrapper are enabled and CUPTI is disabled (as reported at: https://svn.open-mpi.org/trac/ompi/changeset/29752 by Jörg Bornschein))

This commit was SVN r29754.
Этот коммит содержится в:
Matthias Jurenz 2013-11-25 12:58:43 +00:00
родитель bd358cb180
Коммит 90ebdd920f
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -3,6 +3,8 @@
- removed non-posix call to length(array) in AWK script for generating - removed non-posix call to length(array) in AWK script for generating
the C MPI wrapper functions the C MPI wrapper functions
- fixed potential buffer overflow when reading the filter file - fixed potential buffer overflow when reading the filter file
- fixed build error when the CUDA runtime API wrapper are enabled and
CUPTI is disabled
- enabled access to CUPTI counters for CUDA tracing via CUPTI - enabled access to CUPTI counters for CUDA tracing via CUPTI
- enabled GPU memory usage tracing independent of the CUDA API - enabled GPU memory usage tracing independent of the CUDA API
- enabled recording of CUDA synchronization and implicit synchronization in - enabled recording of CUDA synchronization and implicit synchronization in

Просмотреть файл

@ -2722,7 +2722,10 @@ cudaError_t cudaLaunch(VT_CUDARTWRAP_COMPAT_PTR entry)
/* get an already created unused event */ /* get an already created unused event */
kernel->evt = vtDev->evtbuf_pos; kernel->evt = vtDev->evtbuf_pos;
if(!vt_cupti_events_enabled){ #if defined(VT_CUPTI_EVENTS)
if(!vt_cupti_events_enabled)
#endif
{
/* increment buffers */ /* increment buffers */
vtDev->evtbuf_pos++; vtDev->evtbuf_pos++;
vtDev->buf_pos += sizeof(VTCUDAKernel); vtDev->buf_pos += sizeof(VTCUDAKernel);