diff --git a/test_conformance/basic/test_async_copy_fence.cpp b/test_conformance/basic/test_async_copy_fence.cpp index 43245dae..b8c2e931 100644 --- a/test_conformance/basic/test_async_copy_fence.cpp +++ b/test_conformance/basic/test_async_copy_fence.cpp @@ -214,15 +214,15 @@ static const char *export_after_import_aliased_local_kernel = " event_t events;\n" " events = async_work_group_copy( (__local %s*)localBuffer, (__global " "const %s*)(importSrc+importSrcLocalSize*get_group_id(0)), " - "(size_t)importSrcLocalSize, events );\n" + "(size_t)importSrcLocalSize, 0 );\n" " async_work_group_copy_fence( CLK_LOCAL_MEM_FENCE );\n" " events = async_work_group_copy((__global " "%s*)(exportDst+exportSrcLocalSize*get_group_id(0)), (__local const " "%s*)(localBuffer + (importSrcLocalSize - exportSrcLocalSize)), " - "(size_t)exportSrcLocalSize, 0 );\n" + "(size_t)exportSrcLocalSize, events );\n" // Wait for the import and export to complete, then verify by manually // copying to the dest - " wait_group_events( 2, &events );\n" + " wait_group_events( 1, &events );\n" " for(i=0; i