Git Product home page Git Product logo

Comments (3)

cyrush avatar cyrush commented on June 12, 2024

And fun fact:

enable_language(HIP)

(don't tread the lowercase trail)

from blt.

skyreflectedinmirrors avatar skyreflectedinmirrors commented on June 12, 2024

Also, as of the latest release, the HIP smoke tests are .cpp files (i.e., they expect to be compiled using e.g., CMAKE_CXX_COMPILER=hipcc, or amdclang++ with the right flags set).

If I get around to it, I might take a pass at using HIP language support in BLT.

from blt.

skyreflectedinmirrors avatar skyreflectedinmirrors commented on June 12, 2024

A few question for y'all on HIP-Lang support:

  • Would you expect there to be a new BLT target -- i.e., separate from the existing blt::hip / blt::hip_runtime -- for source files that use the HIP-language (as opposed to hipcc-as-CXX), which would add HIP as the target language to all the SOURCES for that test (etc.) -- this is not ideal, imo as you can have a target that has both CXX/HIP/etc. language files -- OR
  • Would you expect that HIP-language source files conform to the CMAKE_HIP_SOURCE_FILE_EXTENSIONS (i.e., be named source.hip), and/or explicitly set the target language

Additionally, do you think BLT should allow mixing of the 'legacy' HIP target and 'HIP-Language' targets at the same time?

from blt.

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.