minor fix

This commit is contained in:
AlexeyAB 2021-02-28 09:11:22 +03:00
parent 53db0163eb
commit f8df52ad72
1 changed files with 4 additions and 0 deletions

View File

@ -299,6 +299,10 @@ cudaStream_t switch_stream(int i) {
return switchStreamsArray[i];
}
#ifndef cudaEventWaitDefault
#define cudaEventWaitDefault 0x00
#endif // cudaEventWaitDefault
static const max_events = 1024;
static cudaEvent_t switchEventsArray[1024];
static volatile int event_counter = 0;