arrayfire
arrayfire copied to clipboard
[Question] af.lapack.qr request 7TB of RAM
Hello! I was trying to compute a QR decomposition on the GPU using OpenCL for a matrix like this:
shape: (1000000, 40)
dtype: float64
bytes: 320 MB
But the function af.lapack.qr returns an out_of_memory error:
RuntimeError: In function nativeAlloc
In file src/backend/opencl/memory.cpp:197
Failed to allocate device memory of size 7.64 TB
It is normal to allocate such a ridiculous amount of memory? CUPY can solve this QR with reasonable amounts of RAM
Machine info:
CPU: 2 x Intel Xeon Platinum 8160
RAM. 512 GB
GPU: NVIDIA V100
Related to #3021