Hacker GitHub

← All repos

ROCm/hip

View on GitHub ↗ ★ 4,422 C++

HIP: C++ Heterogeneous-Compute Interface for Portability

47 mentions on Hacker News by 44 people: 5 stories, 42 comments · first 2016-05-08 · latest 2025-08-09

Mentions per year 47 mentions · busiest year 2017 (10)
20082026
  1. …[2] https://github.com/triton-lang/triton?tab=readme-ov-file#triton [3] https://github.com/ROCm/HIP?tab=readme-ov-file#what-is-this-repository-for
  2. ▲ 36
    Hip: C++ Heterogeneous-Compute Interface for Portability
    story by doener · 2025-05-31 · 12 comments
  3. …features of CUDA like inline PTX, it's pretty much a find-and-replace to get a working build: https://github.com/ROCm/HIP Don't believe me? Include this at the top of your CUDA code, build with hipcc, and see what happens:…
    comment by eslaught · 2024-07-15 · in Run CUDA, unmodified, on AMD GPUs
  4. …by "hip", they have functions called "hipmalloc" and "hipmemcpy"). The repository is located at https://github.com/ROCm/HIP .
  5. ▲ 2
    Hip: Runtime API and Kernel Language for Portable Apps for AMD and Nvidia GPUs
    story by GavCo · 2024-03-10 · 0 comments
  6. …coding directly in CUDA mode. > The HIPIFY tools automatically convert source from CUDA to HIP. 1. https://github.com/ROCm/HIP
  7. …that is causing people to look elsewhere. ROCm supports CUDA through the included HIP projects... https://github.com/ROCm/HIP https://github.com/ROCm/HIPCC https://github.com/ROCm/HIPIFY The later will regex replace your CUDA methods with…
  8. …for example, so PyTorch support for AMD is much better than it was this time last year². ¹( https://github.com/ROCm/HIP ) ²( https://pytorch.org/blog/experience-power-pytorch-2.0/ )
    comment by c0n5pir4cy · 2023-12-15 · in AMD's Next GPU Is a 3D-Integrated Superchip
  9. …support ROCm, but from what I've read the support is not as mature yet compared to NVIDIA. 1: https://github.com/ROCm-Developer-Tools/HIP
    comment by fotcorn · 2023-10-06 · in AMD may get across the CUDA moat
  10. …do this because the broader ecosystem support specifically for the CUDA stack is so entrenched. [1] https://github.com/ROCm-Developer-Tools/HIP
    comment by 0xcde4c3db · 2023-08-28 · in Nvidia on the Mountaintop
  11. …are C++, so is OpenCL since 2.0 ( https://www.khronos.org/opencl/ ), so is AMD ROCm's HIP ( https://github.com/ROCm-Developer-Tools/HIP ), so is SYCL ( https://www.khronos.org/sycl/ )? C++ is pretty much the language that runs most on…
    comment by jcelerier · 2023-08-19 · in Stable Diffusion in C/C++
  12. ▲ 11
    Ask HN: C++ still dominates on GPUs, why not Rust?
    story by Ambix · 2023-06-06 · 2 comments
  13. …run on consumer's GPUs. What options are there today? Nvidia makes it easy, AMD makes it hard. [0] https://github.com/ROCm-Developer-Tools/HIP/blob/develop/INS... [1] https://github.com/ROCm-Developer-Tools/HIP/blob/develop/doc...
  14. …https://github.com/RadeonOpenCompute/ROCm_Documentation ROCm-Developer-Tools/HIPIFY https://github.com/ROCm-Developer-Tools/HIPIFY : > hipify-clang is a clang-based tool for translating CUDA sources into HIP sources. It translates CUDA…
  15. …2.3.1 + ROCm source from GitHub, only to find that it doesn't compile. I need the hip_hcc library https://github.com/ROCm-Developer-Tools/HIP/ but apparently that one has been renamed some months ago, but the ROCm TensorFlow port has not…
  16. …you just use AMD's HIP/HIP-IFY tool on the CUDA backend and get an AMD friendly version out? https://github.com/ROCm-Developer-Tools/HIP I realize these sort of tools aren't magic and whatever it spites out will need work, but it seems…
    comment by soganess · 2020-10-20 · in Julia GPU
  17. They have (sort of): https://github.com/ROCm-Developer-Tools/HIP It just isn't very good yet.
  18. ROCm and HIP - https://github.com/ROCm-Developer-Tools/HIP , as it has been for the last 3-4 years
  19. Reality check? https://github.com/ROCm-Developer-Tools/HIP https://github.com/ROCmSoftwarePlatform/hipDNN CUDA just works.
  20. …yet match CUDA in either breadth of features or maturity, but it's getting closer every day. [1]: https://github.com/ROCm-Developer-Tools/HIP
    comment by slavik81 · 2020-07-13 · in Linus Torvalds on AVX512
  21. …HIP is actually an (open source) one-to-one replacement for the CUDA API. While there are tools ( https://github.com/ROCm-Developer-Tools/HIP/tree/master/hipi... and https://github.com/ROCm-Developer-Tools/HIP/blob/master/bin/... ) that…
    comment by jedbrown · 2019-12-23 · in Radeon Open Compute 3.0
  22. …similarly minor changes.) They have an open source "hipify" program that does this automatically ( https://github.com/ROCm-Developer-Tools/HIP/tree/master/hipi... ). So, basically, AMD GPUs are already sort of CUDA compatible: just run…
  23. …it's possible to port CUDA code already with a bit of work, so not quite from scratch in any case: https://github.com/ROCm-Developer-Tools/HIP
  24. …) is basically 1-1 with CUDA, and can be almost automatically generated from CUDA ( https://github.com/ROCm-Developer-Tools/HIP/tree/master/hipi... ). The datasheet doesn't mention OpenCL so evidently it isn't a priority any more.
  25. It may be possible for the code in these libraries to be made portable using the ROCm HIP compiler: https://github.com/ROCm-Developer-Tools/HIP
    comment by profquail · 2018-10-13 · in Rapids – Open GPU Data Science
  26. Here is it: https://github.com/ROCm-Developer-Tools/HIP Also, AMD does not limit FP performance on consumer cards.
    comment by auslander · 2018-10-12 · in 2080 Ti TensorFlow GPU Benchmarks
  27. AMD has a CUDA Transpiler ( https://github.com/ROCm-Developer-Tools/HIP ) and a multitude of other open source libraries through GPUOpen ( https://gpuopen.com/professional-compute/ ). The quality and open source nature of their tools has…
    comment by JoshuaJB · 2018-10-12 · in 2080 Ti TensorFlow GPU Benchmarks
  28. You mean like HIP?[0] [0] https://github.com/ROCm-Developer-Tools/HIP
  29. OpenCL -> Cross-vendor ROCm & Portable CUDA/HC via HIP - https://github.com/ROCm-Developer-Tools/HIP - https://github.com/RadeonOpenCompute/ROCm "CUDA/HC Portable with HIP", "Microsoft C++AMP", "Apple/Khronos OpenCL":…
    comment by denji · 2018-06-04 · in Deprecation of OpenGL and OpenCL
  30. ▲ 142
    HIP – Convert CUDA to Portable C++
    story by reimertz · 2018-03-18 · 35 comments
  31. AMD's ROCm suite has a tool for converting CUDA to C++ code: https://github.com/ROCm-Developer-Tools/HIP How well it works is likely codebase and application dependent.
  32. AMD is working on a tool to convert CUDA code: https://github.com/ROCm-Developer-Tools/HIP
    comment by bryanlarsen · 2017-12-22 · in AMD Open Source Driver for Vulkan
  33. …which won't run unless you have the closed hardware and software of a particular manufacturer. [0] https://github.com/ROCm-Developer-Tools/HIP
  34. …CUDA code to portable C++. The same source code can be compiled to run on NVIDIA or AMD GPUs https://github.com/ROCm-Developer-Tools/HIP
  35. …CUDA code to portable C++. The same source code can be compiled to run on NVIDIA or AMD GPUs https://github.com/ROCm-Developer-Tools/HIP
  36. …HIP (opensource cuda replacement ) https://pro.radeon.com/en/product/pro-series/radeon-pro-ssg/ . https://github.com/ROCm-Developer-Tools/HIP
  37. …while they've been hopping up and down with faux outrage, AMD embarked on just such an effort: https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP So when is Intel going to join the party?
    comment by oneshot908 · 2017-04-13 · in Blender 2.79: OpenCL on par with CUDA
  38. …some more, it seems they are working on it... just a year or two after it needed to be done. :P https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/iss...
    comment by happycube · 2017-04-12 · in Blender 2.79: OpenCL on par with CUDA
  39. …CUDA code to portable C++. The same source code can be compiled to run on NVIDIA or AMD GPUs." https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP
    comment by joe_the_user · 2017-02-04 · in An Even Easier Introduction to CUDA
  40. https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/blo... CUDA → HIP translator. HIP is an abstraction over CUDA and AMD's HCC: https://github.com/RadeonOpenCompute/hcc/wiki
    comment by floatboth · 2017-01-18 · in Alenka: GPU database engine
  41. …either CUDA or OpenCL. I haven't played with it at all so I can't verify how well it works. [1] https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP
  42. …do the CUDA to C++ conversion * The "hipify" tool automatically converts source from CUDA to HIP. https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/tre...
    comment by DeepYogurt · 2016-12-13 · in HIP: Convert CUDA to Portable C++ Code
  43. My first question was "what about OpenCL", and they seem to address it here: https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/blo...
    comment by conistonwater · 2016-12-13 · in HIP: Convert CUDA to Portable C++ Code
  44. ▲ 134
    HIP: Convert CUDA to Portable C++ Code
    story by fla · 2016-12-13 · 14 comments
  45. It looks like they're doing it, or already have done so. https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP/iss...
  46. …but AMD recently released their HIP tool that make it easier to target HSA using exist CUDA code. https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP
    comment by SXX · 2016-06-03 · in Does not GPU compute
  47. …HIP but I haven't looked into that http://amd-dev.wpengine.netdna-cdn.com/wordpress/media/2012/... https://github.com/GPUOpen-ProfessionalCompute-Tools/HIP
    comment by puzzlingcaptcha · 2016-05-08 · in NVIDIA Announces the GeForce GTX 1000 Series