463b3cd876
SWDEV-165045 - Linux-Pro System Hard-Hang with Call Trace and VM Faults are observed while running ABAQUS-2018-OpenCL Sample on VEGA GPU "-g" option caused shader compiler generated isa code which caused the VM fault. The root cause is still unknown. "-g" is not a feature for end user. So remove it. Remove -g options from application. The affected API includes build, link and compile CL C kernel code. Update ocltst compiler test to remove one test which uses "-g" AMD_OCL_BUILD_OPTIONS_APPEND can be used to force "-g" option Test: Run the Abaqus as specfied in the JIRA twice. No VM fault. In a simple OpenCL test application, driver can handle build option "-g -cl-mad-enable -g -D DDBUILD -D ok-g -g" correctly. Teamcity test. http://ocltc.amd.com:8111/viewModification.html?modId=112334&personal=true&buildTypeId=&tab=vcsModificationBuilds&show_all_builds=true No new failure. ReviewBoard: http://ocltc.amd.com/reviews/r/16255/ Affected files ... ... //depot/stg/opencl/drivers/opencl/runtime/platform/program.cpp#98 edit ... //depot/stg/opencl/drivers/opencl/tests/ocltst/module/compiler/OCLSeparateCompile.cpp#17 edit