Closed henrique-borba closed 1 year ago
Fix NDArray_Fill method memory error Fixed isGPU method to return value correctly
NDArray_Fill was causing the device to release memory prematurely.
[z=](php: ./src/buffer.c:81: buffer_get: Assertion `MAIN_MEM_STACK.buffer[uuid] != NULL' failed.)
NDArray_isGPU was returning incorrect values.
What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fix NDArray_Fill method memory error Fixed isGPU method to return value correctly
What is the current behavior? (You can also link to an open issue here)
NDArray_Fill was causing the device to release memory prematurely.
NDArray_isGPU was returning incorrect values.