mirror of https://github.com/AlexeyAB/darknet.git
minor fix
This commit is contained in:
parent
53db0163eb
commit
f8df52ad72
|
@ -299,6 +299,10 @@ cudaStream_t switch_stream(int i) {
|
||||||
return switchStreamsArray[i];
|
return switchStreamsArray[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef cudaEventWaitDefault
|
||||||
|
#define cudaEventWaitDefault 0x00
|
||||||
|
#endif // cudaEventWaitDefault
|
||||||
|
|
||||||
static const max_events = 1024;
|
static const max_events = 1024;
|
||||||
static cudaEvent_t switchEventsArray[1024];
|
static cudaEvent_t switchEventsArray[1024];
|
||||||
static volatile int event_counter = 0;
|
static volatile int event_counter = 0;
|
||||||
|
|
Loading…
Reference in New Issue