Added CUDA-streams to Darknet-Yolo forward inference

This commit is contained in:
AlexeyAB
2017-12-31 20:10:32 +03:00
parent 83d9b0b6d8
commit 9d23aad869
10 changed files with 66 additions and 31 deletions

View File

@ -30,6 +30,7 @@ void cuda_free(float *x_gpu);
void cuda_random(float *x_gpu, size_t n);
float cuda_compare(float *x_gpu, float *x, size_t n, char *s);
dim3 cuda_gridsize(size_t n);
cudaStream_t get_cuda_stream();
#ifdef CUDNN
cudnnHandle_t cudnn_handle();