From 599ae3af2e804526530419dfa265e5ec3ff0190d Mon Sep 17 00:00:00 2001 From: Rahul Garg Date: Wed, 6 Mar 2019 12:55:39 +0530 Subject: [PATCH] Add extension for kernel concurrency on same stream --- samples/0_Intro/module_api/launchKernelHcc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/0_Intro/module_api/launchKernelHcc.cpp b/samples/0_Intro/module_api/launchKernelHcc.cpp index f6bb9e5361..217f60891d 100644 --- a/samples/0_Intro/module_api/launchKernelHcc.cpp +++ b/samples/0_Intro/module_api/launchKernelHcc.cpp @@ -88,7 +88,7 @@ int main() { HIP_LAUNCH_PARAM_END}; HIP_CHECK( - hipHccModuleLaunchKernel(Function, LEN, 1, 1, LEN, 1, 1, 0, 0, NULL, (void**)&config)); + hipExtModuleLaunchKernel(Function, LEN, 1, 1, LEN, 1, 1, 0, 0, NULL, (void**)&config, 0)); hipMemcpyDtoH(B, Bd, SIZE);