From 16c1926f64c750174bf01cd5310ccd01f6154af9 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Mon, 18 May 2020 17:10:08 +0000 Subject: [PATCH] wtf, how was that commented out and the tests still passed old-commit-hash: 495e0c4648b5c3d20709bb3e08f83dad62725c2d --- selfdrive/modeld/thneed/thneed.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/modeld/thneed/thneed.cc b/selfdrive/modeld/thneed/thneed.cc index 785463780..6bacd5440 100644 --- a/selfdrive/modeld/thneed/thneed.cc +++ b/selfdrive/modeld/thneed/thneed.cc @@ -203,7 +203,7 @@ void Thneed::execute(float **finputs, float *foutput, bool slow) { #endif if (record & 2) printf("copying %lu -- %p -> %p\n", sz, finputs[idx], inputs[idx]); - //clEnqueueWriteBuffer(command_queue, inputs[idx], CL_TRUE, 0, sz, finputs[idx], 0, NULL, NULL); + clEnqueueWriteBuffer(command_queue, inputs[idx], CL_TRUE, 0, sz, finputs[idx], 0, NULL, NULL); } // ****** set power constraint