T O P I C R E V I E W |
harrism |
Posted - Oct 22 2007 : 12:01:33 PM I do a lot of development in NVIDIA CUDA, which is an extension to standard C/C++ for parallel execution on GPUs. Grammatically, it is just C/C++, so visual assist should be able to handle it, no problem. However CUDA files typically use the file extension ".cu" (and sometimes .cuh), so visual assist doesn't attempt to parse them.
How do I make visual assist parse these files?
Thanks, Mark |
4 L A T E S T R E P L I E S (Newest First) |
accord |
Posted - Dec 10 2007 : 03:30:27 AM harrism: this process is described here: http://docs.wholetomato.com?W302 |
schoenherr |
Posted - Dec 10 2007 : 12:42:54 AM @harrism try to define these symbols in the stdafx.h file, located in the VAX directory.
|
harrism |
Posted - Dec 09 2007 : 6:54:33 PM Thanks! This worked pretty well, so I posted a link on our CUDA forums so other users may benefit. http://forums.nvidia.com/index.php?showtopic=53690
However, CUDA adds some built-in variables to C/C++. I wonder if there is a way to get VA to support them? These are more than just keywords, they are built-in structures. For example:
typedef struct { size_t x, y, z; } blockDim;
Unfortunately they aren't defined in a header (they are part of the language) so I can't just include the header to get VA to understand them. Any options here?
Thanks, Mark |
rhummer |
Posted - Oct 22 2007 : 12:17:21 PM This FAQ entry should do it for ya.
http://docs.wholetomato.com?W328 |
|
|