Merge "SWDEV-230009-Cltrace log is not created as expected-Update return type to vdi_agent" into amd-master-next

[ROCm/clr commit: 984d6545e6]
This commit is contained in:
Julia Jiang authored and Gerrit Code Review committed 2020-05-11 13:50:59 -04:00
commit 6d06c2eb62
1 file changed
+2 -2
@@ -4361,12 +4361,12 @@ cleanup(void)
#define SET_ORIGINAL(DISPATCH) \
modified_dispatch.DISPATCH = original_dispatch.DISPATCH;
cl_int CL_CALLBACK
int32_t CL_CALLBACK
vdiAgent_OnLoad(vdi_agent * agent)
{
char *clTraceLogEnv;
cl_int err = agent->GetICDDispatchTable(
int32_t err = agent->GetICDDispatchTable(
agent, &original_dispatch, sizeof(original_dispatch));
if (err != CL_SUCCESS) {
return err;