From 8022671a5e15db6d44ddedcbe74af5dc10eb9a2b Mon Sep 17 00:00:00 2001 From: Ben Sander Date: Wed, 7 Sep 2016 15:48:40 -0500 Subject: [PATCH] Adapt to _kernelSymbol Change-Id: Idebb7d7e895286ce5423afdcf391e00fa8b2b94f --- hipamd/src/hip_module.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hipamd/src/hip_module.cpp b/hipamd/src/hip_module.cpp index 594ddde2f9..7ef3ca9933 100644 --- a/hipamd/src/hip_module.cpp +++ b/hipamd/src/hip_module.cpp @@ -260,14 +260,14 @@ hipError_t hipModuleLaunchKernel(hipFunction_t f, } uint32_t groupSegmentSize; - hsa_status_t status = hsa_executable_symbol_get_info(f->kernel_symbol, - HSA_EXECUTABLE_SYMBOL_INFO_KERNEL_GROUP_SEGMENT_SIZE, - &groupSegmentSize); + hsa_status_t status = hsa_executable_symbol_get_info(f->_kernelSymbol, + HSA_EXECUTABLE_SYMBOL_INFO_KERNEL_GROUP_SEGMENT_SIZE, + &groupSegmentSize); uint32_t privateSegmentSize; - status = hsa_executable_symbol_get_info(f->kernel_symbol, - HSA_EXECUTABLE_SYMBOL_INFO_KERNEL_PRIVATE_SEGMENT_SIZE, - &privateSegmentSize); + status = hsa_executable_symbol_get_info(f->_kernelSymbol, + HSA_EXECUTABLE_SYMBOL_INFO_KERNEL_PRIVATE_SEGMENT_SIZE, + &privateSegmentSize); privateSegmentSize += sharedMemBytes;