Skip to content
Radeon Open Compute Thunk Interface
Branch: master
Clone or download
Philip Cox Philip Cox
Philip Cox and Philip Cox Fix type mismatch passed to queue suspend/resume
The queue IDs passed over to the kernel via kfd_ioctl_dbg_trap_args->ptr
should be a list of uint32_t's.  Need to convert from the passed in
64 bit HSA_QUEUEID to 32 bit uint32_t's.

Change-Id: I8718566d9f9ffc90ce0b2ecc129b10c49d73186a
Signed-off-by: Philip Cox <>
Latest commit b990b26 May 14, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
DEBIAN Specify requirement of NUMA libs for Thunk Oct 25, 2018
RPM Specify requirement of NUMA libs for Thunk Oct 25, 2018
cmake_modules Fix git describe command to retrieve version tags correctly. Jul 11, 2018
include libhsakmt: Update wave suspend/resume API May 3, 2019
src Fix type mismatch passed to queue suspend/resume May 15, 2019
tests Fix type mismatch passed to queue suspend/resume May 15, 2019
.gitignore add outgoing/ to .gitignore Oct 28, 2014
CMakeLists.txt libhsakmt: Disable -Werror by default May 7, 2019 use rbtree instead of vm_objects list Jul 9, 2018
Makefile Add back GNU Makefiles. Jul 30, 2017 Update README to reflect cmake change Jan 4, 2018 cmake: Create cmake config file Apr 3, 2019
hsakmt-dev.txt libhsakmt: Fix pkg-config file paths Aug 4, 2018

ROCt Library

This repository includes the user-mode API interfaces used to interact with the ROCk driver. Currently supported agents include only the AMD/ATI Fiji family of discrete GPUs.

Starting at 1.7 release, ROCt uses drm render device. This requires the user to belong to video group. Add the user account to video group with "sudo usermod -a -G video username" command if the user if not part of video group yet.

ROCk Driver

The ROCt library is not a standalone product and requires that you have the correct ROCk driver set installed. We recommend reading the full compatibility and installation details which are available in the ROCk github:

Building the Thunk

A simple cmake-based system is available for building thunk. To build the thunk from the the ROCT-Thunk-Interface directory, execute:

    mkdir -p build
    cd build
    cmake ..

If the hsakmt-roct and hsakmt-roct-dev packages are desired:

    mkdir -p build
    cd build
    cmake ..
    make package
    make package-dev


The information contained herein is for informational purposes only, and is subject to change without notice. While every precaution has been taken in the preparation of this document, it may contain technical inaccuracies, omissions and typographical errors, and AMD is under no obligation to update or otherwise correct this information. Advanced Micro Devices, Inc. makes no representations or warranties with respect to the accuracy or completeness of the contents of this document, and assumes no liability of any kind, including the implied warranties of noninfringement, merchantability or fitness for particular purposes, with respect to the operation or use of AMD hardware, software or other products described herein. No license, including implied or arising by estoppel, to any intellectual property rights is granted by this document. Terms and limitations applicable to the purchase or use of AMD's products are as set forth in a signed agreement between the parties or in AMD's Standard Terms and Conditions of Sale.

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.

Copyright (c) 2014-2017 Advanced Micro Devices, Inc. All rights reserved.

You can’t perform that action at this time.