Code Monkey home page Code Monkey logo

Comments (9)

kevinsawicki avatar kevinsawicki commented on August 18, 2024

Should .cuh be included as well?

from language-c.

EntilZha avatar EntilZha commented on August 18, 2024

That would make sense, I hadn't thought of that.

from language-c.

kevinsawicki avatar kevinsawicki commented on August 18, 2024

Are there any other cuda extensions you know of besides these two?

from language-c.

EntilZha avatar EntilZha commented on August 18, 2024

No, but I am fairly new to cuda (using it for a school assignment). I looked around and found this though which talks about it a little bit
http://stackoverflow.com/questions/15222071/efficient-way-of-cuda-file-organization-cpp-h-cu-cuh-curnel-files
Based on that, maybe .cuinc

from language-c.

kevinsawicki avatar kevinsawicki commented on August 18, 2024

So are CUDA files C or C++ or either?

from language-c.

EntilZha avatar EntilZha commented on August 18, 2024

I believe they can be written in C or C++ (and Fortran, but thats another issue). I referenced this:
http://www.quickiwiki.com/en/CUDA

from language-c.

bryancatanzaro avatar bryancatanzaro commented on August 18, 2024

The native language for CUDA files is C++, and I second the proposal that .cu and .cuh files be viewed as .cpp and .h files.
There's a minimal amount of extra syntax, but in my experience, most syntax highlighters deal with CUDA files fine if I just tell them they are written in C++. I'm trying atom out myself, and support for CUDA C++ files would be great.

from language-c.

kevinsawicki avatar kevinsawicki commented on August 18, 2024

@bryancatanzaro Sounds good, will fix now, thanks for the background.

from language-c.

kevinsawicki avatar kevinsawicki commented on August 18, 2024

This will be included in the next Atom release, 0.104.0

from language-c.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.