Remove input, output buffers from process kernel
[tidl/tidl-api.git] / tidl_api / dsp / ocl_wrapper.cl
index f94c004d97a71253b0388a87847c5cf3428771ce..698d074c14ecbd482f3af8974223561e28bfd612 100644 (file)
@@ -40,7 +40,7 @@ void ocl_tidl_setup(global unsigned char*        createParams,
 kernel 
 void ocl_tidl_initialize(global unsigned char*            createParams,
                          global unsigned char*            netParamsBuffer,
-                        global unsigned char*            externalMemoryHeapBase,
+                         global unsigned char*            externalMemoryHeapBase,
                          global OCL_TIDL_InitializeParams* initializeParams,
                          local  unsigned char*            l2HeapBase)
 {
@@ -52,12 +52,13 @@ void ocl_tidl_initialize(global unsigned char*            createParams,
                             l2HeapBase);
 }
 
-kernel void ocl_tidl_process(global OCL_TIDL_ProcessParams* processParams,
-                             global unsigned char*          inputFrame,
-                             global unsigned char*          outputData,
-                             global unsigned char*          externalMemory)
+kernel
+void ocl_tidl_process(global OCL_TIDL_ProcessParams* processParams,
+                      global unsigned char*          externalMemoryHeapBase,
+                      global unsigned char*          traceBufferParams)
 {
-    ocl_dsp_tidl_process(processParams, inputFrame, outputData);
+    ocl_dsp_tidl_process(processParams, externalMemoryHeapBase,
+                         traceBufferParams);
 }