The following errors are quite common:

  • MEMORY ALLOC FAILED: VirtualAlloc failed.
  • Error CL_OUT_OF_RESOURCES when calling clEnqueueNDRangeKernel for kernel 0.

Make sure your OS’s virtual memory (page file) is at least the total amount of VRAM of all graphics cards combined. For example, 4x 8GB RX 580s will require a 32GB page file to avoid this error.

For Windows machines:

→ Control Panel → System and Security → System → Advanced system settings → Advanced tab → Performance → Settings → Advanced tab → Virtual memory → Change → Custom size → Set → OK → Reboot (mandatory)

Still need help? Contact Us Contact Us