AMP C ++的使用速度很慢! [英] Use of AMP C++ is slow !!

查看:112
本文介绍了AMP C ++的使用速度很慢!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

我已经使用了Matrix乘法AMP C ++,它工作得很好,问题是当我在程序中将其用作函数时,grogramme变慢并且在执行时消耗大量内存,我正在使用VS2012

I have used for Matrix multiplication AMP C++, and it works great, the problème is when i have use it as a function in a programme, the grogramme become slow and it consume a lot of memory when executing, i am using VS2012.

PS:我在调试模式下的GPU中执行,因为通过使用array_view< double> !!!!!

PS: i am executin in debug mode type GPU, when passing to release it wont work because of the use of array_view<double>!!!!!

非常感谢您的回答

Thank you a lot for you answers

推荐答案

您必须解决阻止使用发布模式的问题.在衡量性能时,调试模式永远都不是可行的模式.请提供有关编译时确切问题的更多信息 释放模式.
You've got to fix your problems which are preventing you from using release mode.  Debug mode is never a viable mode to use when measuring performance.   Please provide more information about what the exact problems are when compiling in release mode.


这篇关于AMP C ++的使用速度很慢!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆