SWDEV-230009-Cltrace log is not created as expected-Update return type to vdi_agent

Change-Id: Ice4083d0d3a061867f886119a4cc541e2048a328


[ROCm/clr commit: 1662b25dc6]
此提交包含在:
jujiang
2020-05-08 18:56:25 -04:00
父節點 f3319937db
當前提交 515ef47896
+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;