Closed pidb closed 1 year ago
I see the function
so, should it be change to
request_size = base_size * pAllocateArray->NumChannels * pAllocateArray->Height * pAllocateArray->Width * pAllocateArray->Depth;
I'm not familiar with this api, maybe the calculation of memory is wrong, could you help to validate this?
I see the function https://github.com/tkestack/vcuda-controller/blob/5ec3fcbc58679bbbbd82ef9e21d647d8d7383876/src/hijack_call.c#L713-L731
so, should it be change to
request_size = base_size * pAllocateArray->NumChannels * pAllocateArray->Height * pAllocateArray->Width * pAllocateArray->Depth;
I'm not familiar with this api, maybe the calculation of memory is wrong, could you help to validate this?
I see the function https://github.com/tkestack/vcuda-controller/blob/5ec3fcbc58679bbbbd82ef9e21d647d8d7383876/src/hijack_call.c#L713-L731
so, should it be change to
request_size = base_size * pAllocateArray->NumChannels * pAllocateArray->Height * pAllocateArray->Width * pAllocateArray->Depth;
I'm not familiar with this api, maybe the calculation of memory is wrong, could you help to validate this?
Of course, I will verify and try to fix it later.
I see the function
https://github.com/tkestack/vcuda-controller/blob/5ec3fcbc58679bbbbd82ef9e21d647d8d7383876/src/hijack_call.c#L713-L731
so, should it be change to