How do I develop CUDA application on my ATI, to be later executed on NVIDIA

心已入冬 提交于 2019-12-11 15:31:20

问题


My computer has an ATI graphics card, but I need to code an algorithm I already have in CUDA, to accerelate the process. Is that even possible? If yes does anyone have any link or tutorial from setting up my IDE to coding a simple image processing or passing an image. I also considered OpenCL but I have not found any information how to do anything with it.


回答1:


This answer is more directed toward the part

I also considered OpenCL but I have not found any information how to do anything with it.

Check on this NVIDIA site: http://developer.nvidia.com/nvidia-gpu-computing-documentation

Scroll down and you find

  1. OpenCL Programming Guide

    This is a detailed programming guide for OpenCL developers.

  2. OpenCL Best Practices Guide

    This is a manual to help developers obtain the best performance from OpenCL.

  3. OpenCL Overview for the CUDA Architecture

    This whitepaper summarizes the guidelines for how to choose the best implementations for NVIDIA GPUs.

  4. OpenCL Implementation Notes

    This document describes the "Implementation Defined" behavior for the NVIDIA OpenCL implementation as required by the OpenCL specification Version: 1.0. The implementation defined behavior is referenced below in the order of it's reference in the OpenCL specification and is grouped by the section number for the specification.

On AMD/ATI you have this site for a brief introduction: http://www.amd.com/us/products/technologies/stream-technology/opencl/pages/opencl-intro.aspx

And for more resources check: http://www.amd.com/us/products/technologies/stream-technology/Pages/training-resources.aspx

Unless CUDA is a requirement you should consider OpenCL again as you can you use it on both platforms and you state have one and want to develop for the other.




回答2:


You might also want to take a look at these:

http://blogs.nvidia.com/2011/06/cuda-now-available-for-multiple-x86-processors/

http://www.pgroup.com/resources/cuda-x86.htm

I haven't tried it myself, but the prospect of running CUDA code on x86 seems pretty attractive.



来源:https://stackoverflow.com/questions/8351125/how-do-i-develop-cuda-application-on-my-ati-to-be-later-executed-on-nvidia

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!