Skip to content

Fix umf prefixes #658

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 3 commits into from
Aug 2, 2024
Merged

Conversation

lukaszstolarczuk
Copy link
Contributor

@lukaszstolarczuk lukaszstolarczuk commented Aug 2, 2024

Fix missing umf prefixes in our project:

  • in CMake "public" options,
  • in include guards (for h/hpp headers),
  • in test_common lib (used in testing).

Checklist

  • Code compiles without errors locally
  • All tests pass locally
  • CI workflows execute properly
  • CI workflows, not executed per PR (e.g. Nightly), execute properly

// https://github.com/lukaszstolarczuk/unified-memory-framework/actions/runs/10214717722

ccmake output seems properly prefixed now:
image

@lukaszstolarczuk lukaszstolarczuk requested a review from a team as a code owner August 2, 2024 11:20
@lukaszstolarczuk lukaszstolarczuk requested a review from ldorau August 2, 2024 11:23
@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2023 Intel Corporation
* Copyright (C) 2023-2024 Intel Corporation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you don't change anything in this file

@@ -1,6 +1,6 @@
/*
*
* Copyright (C) 2023 Intel Corporation
* Copyright (C) 2023-2024 Intel Corporation
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ditto

// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef UMF_NULL_POOL_H
#define UMF_NULL_POOL_H
#ifndef UMF_TEST_NULL_POOL_H
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pool_nool

// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

#ifndef UMF_TRACE_POOL_H
#define UMF_TRACE_POOL_H
#ifndef UMF_TEST_TRACE_POOL_H
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pool_trace

If we want to have an include guard based on the file name, fix it here and elsewhere

@lukaszstolarczuk lukaszstolarczuk merged commit d735c33 into oneapi-src:main Aug 2, 2024
65 checks passed
@lukaszstolarczuk lukaszstolarczuk deleted the prefix-umf-vars branch August 2, 2024 12:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants