Thanks for the quick reply. I’ve never checked for swapping before, but I performed the matrix multiplication with my activity monitor open and “swap used” went from 2GB to 12GB.
Is there anyway to perform the above matrix multiplication a GPU or do I need to move everything to a CPU? (I also verified that I can do this operation on my university’s cluster’s head node CPU.)