Forums : The Ohcount Project

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Support of cuda (.cu files)

Does Ohcount support .cu files and CUDA c extension? It looks like that Ohloh doesn't take into account .cu suffixed files. E.g. gpudwt project (https://www.ohloh.net/p/gpudwt) has only 46 lines of code according ohloh.

Jiri Matela about 14 years ago
 

Hi Jiri,

No, Ohloh does not recognize CUDA code.

Our source code line counter Ohcount is open source, and we'd be happy to take a patch to add *.cu files to the counter.

You can find the source code at SourceForge and Github.

Robin Luckey about 14 years ago
 

Hi Robin,

I modified Ohcount so that it recognizes *.cu files. Seems to work well with my cuda files. Can I push changes into some development branch? Or should I send you a patch?

Jiri Matela about 14 years ago