Giter Club home page Giter Club logo

clr's Introduction

AMD CLR - Compute Language Runtimes

AMD Common Language Runtime contains source codes for AMD's compute languages runtimes: HIP and OpenCL™.

Project Organisation

  • hipamd - contains implementation of HIP language on AMD platform. It is hosted at ROCm/clr/hipamd
  • opencl - contains implementation of OpenCL™ on AMD platform. Now it is hosted at ROCm/clr/opencl
  • rocclr - contains common runtime used in HIP and OpenCL™. This is hosted at ROCm/clr/rocclr

How to build/install

Prerequisites

Please refer to Quick Start Guide in ROCm Docs.

Building clr requires rocm-hip-libraries meta package, which provides the pre-requisites for clr.

Linux

  • Clone this repository
  • cd clr && mkdir build && cd build
  • For HIP : cmake .. -DCLR_BUILD_HIP=ON -DHIP_COMMON_DIR=$HIP_COMMON_DIR
    • HIP_COMMON_DIR points to HIP
    • HIPCC_BIN_DIR points to HIPCC's bin folder. If not provided, it defaults to /opt/rocm/bin.
  • For OpenCL™ : cmake .. -DCLR_BUILD_OCL=ON
  • make : to build
  • make install : to install

Users can also build OCL and HIP at the same time by passing -DCLR_BUILD_HIP=ON -DCLR_BUILD_OCL=ON to configure command.

For detail instructions, please refer to how to build HIP

Tests

hip-tests is a separate repository hosted at hip-tests.

To run hip-tests please go to the repository and follow the steps.

There used to be directed tests in ROCm/HIP which are now removed in favor of hip-tests repository.

Disclaimer

The information presented in this document is for informational purposes only and may contain technical inaccuracies, omissions, and typographical errors. The information contained herein is subject to change and may be rendered inaccurate for many reasons, including but not limited to product and roadmap changes, component and motherboard versionchanges, new model and/or product releases, product differences between differing manufacturers, software changes, BIOS flashes, firmware upgrades, or the like. Any computer system has risks of security vulnerabilities that cannot be completely prevented or mitigated.AMD assumes no obligation to update or otherwise correct or revise this information. However, AMD reserves the right to revise this information and to make changes from time to time to the content hereof without obligation of AMD to notify any person of such revisions or changes.THIS INFORMATION IS PROVIDED ‘AS IS.” AMD MAKES NO REPRESENTATIONS OR WARRANTIES WITH RESPECT TO THE CONTENTS HEREOF AND ASSUMES NO RESPONSIBILITY FOR ANY INACCURACIES, ERRORS, OR OMISSIONS THAT MAY APPEAR IN THIS INFORMATION. AMD SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR ANY PARTICULAR PURPOSE. IN NO EVENT WILL AMD BE LIABLE TO ANY PERSON FOR ANY RELIANCE, DIRECT, INDIRECT, SPECIAL, OR OTHER CONSEQUENTIAL DAMAGES ARISING FROM THE USE OF ANY INFORMATION CONTAINED HEREIN, EVEN IF AMD IS EXPRESSLY ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. AMD, the AMD Arrow logo, and combinations thereof are trademarks of Advanced Micro Devices, Inc. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies.

© 2023 Advanced Micro Devices, Inc. All Rights Reserved.

OpenCL™ is registered Trademark of Apple

clr's People

Contributors

mangupta avatar emankov avatar bensander avatar chaunceyhui avatar gargrahul avatar gandryey avatar vsytch avatar saleelk avatar kjayapra-amd avatar satyanveshd avatar alexvlx avatar yxsamliu avatar tomsang avatar sarbojitamd avatar sunway513 avatar aditya4d1 avatar aaronenyeshi avatar jaydeeppatel1111 avatar jujiang-del avatar iassiour avatar jasonttang avatar agunashe avatar shadidashmiz avatar scchan avatar chrispaquot avatar chriskitching avatar mhbliao avatar alexxamd avatar arsenm avatar aryansalmanpour avatar

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.