CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
32 lines
1005 B
C++
32 lines
1005 B
C++
/*
|
|
* Copyright (c) Advanced Micro Devices, Inc., or its affiliates.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef COMMAND_UTILS_HPP_
|
|
#define COMMAND_UTILS_HPP_
|
|
|
|
// Dummy command types for Stream Wait and Write commands.
|
|
#define ROCCLR_COMMAND_STREAM_WAIT_VALUE 0x4501
|
|
#define ROCCLR_COMMAND_STREAM_WRITE_VALUE 0x4502
|
|
#define ROCCLR_COMMAND_BATCH_STREAM 0x4503
|
|
#define ROCCLR_COMMAND_BATCH_COPY_BUFFER 0x4504
|
|
#define ROCCLR_COMMAND_BATCH_WRITE_BUFFER 0x4505
|
|
#define ROCCLR_COMMAND_BATCH_READ_BUFFER 0x4506
|
|
|
|
// Stream Wait Value Conidtions
|
|
#define ROCCLR_STREAM_WAIT_VALUE_GTE 0x0
|
|
#define ROCCLR_STREAM_WAIT_VALUE_EQ 0x1
|
|
#define ROCCLR_STREAM_WAIT_VALUE_AND 0x2
|
|
#define ROCCLR_STREAM_WAIT_VALUE_NOR 0x3
|
|
|
|
#define ROCCLR_STREAM_WRITE_VALUE_DEFAULT 0x0
|
|
#define ROCCLR_STREAM_WRITE_VALUE_INCREMENT 0x1000
|
|
#define ROCCLR_STREAM_WRITE_VALUE_DECREMENT 0x1001
|
|
|
|
#define ROCCLR_HIP_GL_CONTEXT_KHR 0x2100
|
|
#define ROCCLR_HIP_GLX_DISPLAY_KHR 0x2101
|
|
#define ROCCLR_HIP_WGL_HDC_KHR 0x2102
|
|
|
|
#endif // COMMAND_UTILS_HPP_
|