Fixed race condition in server

This commit is contained in:
Joseph Redmon
2014-12-08 11:48:57 -08:00
parent d81ab1942b
commit cb1f33c6ae
13 changed files with 56 additions and 41 deletions

View File

@ -69,7 +69,6 @@ cl_kernel get_softmax_forward_kernel()
void forward_softmax_layer_gpu(const softmax_layer layer, cl_mem input)
{
cl_setup();
cl_kernel kernel = get_softmax_forward_kernel();
cl_command_queue queue = cl.queue;