hcc icon indicating copy to clipboard operation
hcc copied to clipboard

HCC is an Open Source, Optimizing C++ Compiler for Heterogeneous Compute currently for the ROCm GPU Computing Platform

Results 112 hcc issues
Sort by recently updated
recently updated
newest added

**Background:** Porting Mxnet Deep Learning framework to ROCm Platform **Issue :** While executing some applications on HIP/ROCm platform we are facing below mentioned issue.(ROCm 1.8.151) This issue is reproducible in...

I generally need to add the keyword "template" around various pieces of code. RegisterUtils::shiftLeft(in); ---> RegisterUtils::**template** shiftLeft(in); In this scenario, if I don't add that keyword, then I receive the...

For full reproduction: Checkout [pytorch](https://github.com/ROCmSoftwarePlatform/pytorch), run `python3 tools/amd_build/build_pytorch_amd.py` and build pytorch. Compile only file that is problematic (on ubuntu 18.04 and w/ my own paths): ``` /opt/rocm/hcc/bin/clang-7.0 -cc1 -D__KALMAR_HC__=1 -D__HCC_HC__=1...

I was impressed with the aspirations of AMD's open platform for GPGPU computing and recently installed ROCm and HCC but have had some problems with the installation and in compiling...

This is sample implementation of PRNG called sfc32 from PractRand: ``` c++ hc::array_view state(4); // seed state somehow parallel_for_each(hc::extent(1), [=](hc::index i) [[hc]] { unsigned int a = state[0], b =...

First I had some difficulties with hc::printf_buffer. According code in mcwamp_hsa.cpp it should be initialized but in my case it is always null. So first line in following example initializes...

Hipcc gives a clang linker error when linking the attached test case for a Reduce kernel. Please note that the failure only occurs for "short" type, whereas "int32_t" etc. work...

Seems `hc::array_view` can be captured into kernel only by value: ``` c++ hc::array_view arr(1); parallel_for_each(hc::extent(1), [=](hc::index i) [[hc]] { arr[0] = 10; }); printf("%i\n", arr[0]); ``` But `hc::array` only by...

When using a **debug build** of hcc, an attempt to compile the attached file produces an assertion. [hc_ring.txt](https://github.com/RadeonOpenCompute/hcc/files/2231470/hc_ring.txt) Note that the file just contains two #include statements, which must be...

I hit the above assertion when creating a debug build for hcc. Here's the actual output: Building OCL object rocdl/opencl/CMakeFiles/opencl_lib.dir/src/devenq/schedule.cl clang-7: /home/ssahasra/projects/hcc/clang/lib/CodeGen/CGRecordLayoutBuilder.cpp:596: void {anonymous}::CGRecordLowering::clipTailPadding(): Assertion `Prior->Kind == MemberInfo::Field && !...