Skip to content

mixbench-hip does not compile #20

@oonkjbr

Description

@oonkjbr

I have installed the vanillad ROCm from https://github.com/ROCm-Developer-Tools/HIP/blob/master/INSTALL.md

I then set the HIP_PATH to this installation

cmake completes and gives the following build directory: CMakeCache.txt CMakeFiles cmake_install.cmake Makefile

However, running make then gives many errors:

$ make
[ 16%] Building HIPCC object CMakeFiles/mixbench-hip-ro.dir/mixbench-hip-ro_generated_mix_kernels_hip_ro.cpp.o
/opt/rocm/hip/include/hip/nvcc_detail/hip_runtime_api.h(1355): error: class "cudaPointerAttributes" has no member "memoryType"

/usr/local/cuda/include/cuda_fp16.h(1525): error: inline specifier allowed on function declarations only

/usr/local/cuda/include/cuda_fp16.h(1525): error: declaration is incompatible with overloaded function "__shfl_sync"
/usr/local/cuda/include/sm_30_intrinsics.h(133): here

...

Any suggestions on how to solve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions