Reply to comment

1.дрова
2.вижуал студио 2008
3.сдк куда
4.тулкит
5.зашел в папочку (у вас понятно путь может быть другой)
C:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA CUDA SDK\doc\syntax_highlighting\visual_studio_8
и прочитал readme.txt
в нем написано как настроить подсветку синтаксиса в вижуал студио для ку файлов

зашел в папочку projects
там есть проект template
сдублировал его в этой же папочке projects
поудалял от туда все кроме template.cu
в него вставил код с http://llpanorama.wordpress.com/2008/05/21/my-first-cuda-program/
и откомпилил
теперь измываюсь над эти файлом

да кстати если кто хотит компилить 64 разрядные приложения то надо при установке вижуал студио отметить 64 разряд компилятор

Reply

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <i> <table> <td> <tr> <th>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].
  • Images can be added to this post.

More information about formatting options

Copyright © 2008-2011 Alex Tutubalin