开发者

iPad: RAM and virtue memory question of allocation...

开发者 https://www.devze.com 2023-03-25 08:57 出处:网络
Can / how... I define 2 matrices to be in virtue memory so I can use the RAM to perform matrix multiplication?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消