hcc icon indicating copy to clipboard operation
hcc copied to clipboard

An optimization to the function of findGlobalPool

Open zhaozhangjian opened this issue 4 years ago • 1 comments

In findGlobalPool, return HSA_STATUS_INFO_BREAK instead of HSA_STATUS_SUCCESS when a fine grained global pool is found, so as to avoid useless iterations when called in the constructor of UnpinnedCopyEngine. Also add an ErrorCheck after this call.

zhaozhangjian avatar Apr 08 '20 07:04 zhaozhangjian

Any one to review this?

zhaozhangjian avatar Apr 14 '20 07:04 zhaozhangjian