P4 to Git Change 1719466 by wchau@wchau_OCL_boltzmann on 2018/12/12 15:42:59

SWDEV-169078 - Also copy  private_segment_size/group_segment_size to runtime handle for COMgr support

Affected files ...

... //depot/stg/opencl/drivers/opencl/runtime/device/pal/palkernel.cpp#75 edit
... //depot/stg/opencl/drivers/opencl/runtime/device/rocm/rockernel.cpp#46 edit


[ROCm/clr commit: f9b6ad6449]
이 커밋은 다음에 포함됨:
foreman가 2018-12-12 15:53:41 -05:00를 커밋했습니다
1 부모 59ab6c9f5d
커밋 f3f7e18f5f
2 파일이 변경됨
+14 -2

검색과 일치하는 파일 없음

+7 -1
파일 보기
@@ -85,9 +85,15 @@ bool LightningKernel::init() {
HSA_EXECUTABLE_SYMBOL_INFO_VARIABLE_ADDRESS,
&variable_address);
}
if (hsaStatus == HSA_STATUS_SUCCESS) {
const struct RuntimeHandle runtime_handle = {
kernelCodeHandle_,
workitemPrivateSegmentByteSize(),
WorkgroupGroupSegmentByteSize()
};
hsaStatus = hsa_memory_copy(reinterpret_cast<void*>(variable_address),
&kernelCodeHandle_, variable_size);
&runtime_handle, variable_size);
}
if (hsaStatus != HSA_STATUS_SUCCESS) {