Can / how... I define 2 matrices to be in virtue memory so I can use the RAM to perform matrix multiplication?
Is video RAM separat开发者_开发知识库e from main memory? Or can I use that to do matrix multiplication... the advantage may be speed, if so?
thanks.
All allocated memory will be in "virtual memory". If you malloc() a hunk of memory, that is "virtual" memory.
But it sounds like you needs something faster? Do you have performance analysis that indicates a problem?
In any case, you'll likely want to look into OpenCL, if you really need that extra speed.
精彩评论