Skip to content

build-only docs w/o deploy on pr push #286

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/pr_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,26 @@ jobs:
- name: Check clang-format
run: cmake --build build --target clang-format-check

DocsBuild:
name: Build docs
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Install doxygen
run: |
sudo apt-get update
sudo apt-get install -y doxygen

- name: Install pip requirements
run: python3 -m pip install -r third_party/requirements.txt

- name: Build the documentation
working-directory: scripts
run: python3 generate_docs.py

Spellcheck:
uses: ./.github/workflows/spellcheck.yml
Build:
Expand Down
9 changes: 3 additions & 6 deletions include/umf/providers/provider_level_zero.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ typedef enum umf_usm_memory_type_t {

/// @brief Level Zero Memory Provider settings struct
typedef struct level_zero_memory_provider_params_t {
void *level_zero_context_handle;
void *level_zero_device_handle;
umf_usm_memory_type_t memory_type;
uint32_t level_zero_host_mem_alloc_flags;
uint32_t level_zero_device_mem_alloc_flags;
uint32_t level_zero_device_local_mem_ordinal;
void *level_zero_context_handle; ///< Handle to the Level Zero context
void *level_zero_device_handle; ///< Handle to the Level Zero device
umf_usm_memory_type_t memory_type; ///< Allocation memory type
} level_zero_memory_provider_params_t;

umf_memory_provider_ops_t *umfLevelZeroMemoryProviderOps(void);
Expand Down