oneapi-src / unified-memory-framework

A library for constructing allocators and memory pools. It also contains broadly useful abstractions and utilities for memory management. UMF allows users to manage multiple memory pools characterized by different attributes, allowing certain allocation types to be isolated from others and allocated using different hardware resources as required.
https://oneapi-src.github.io/unified-memory-framework/
Other
28 stars 16 forks source link

Unify licence headers across UMF #296

Open lplewa opened 4 months ago

lplewa commented 4 months ago

There is two different license header in tests - it should be unified.

bratpiorka commented 3 months ago
/*
 *
 * Copyright (C) 2023 Intel Corporation
 *
 * Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 */

vs

// Copyright (C) 2023-2024 Intel Corporation
// Under the Apache License v2.0 with LLVM Exceptions. See LICENSE.TXT.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception

@igchor @vinser52 ?

lukaszstolarczuk commented 3 months ago

I think in previous projects we mostly used:

// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2015-2019, Intel Corporation */

Sometimes, we used a sligthly different version for header files:

/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2015-2020, Intel Corporation */
ldorau commented 3 months ago

I cannot find a link to the Intel guide/wiki, but according to Intel guidelines it should be exactly like in the https://github.com/pmem/pmdk project (do not ask me why ;-)), so: 1) in the source files:

// SPDX-License-Identifier: BSD-3-Clause
/* Copyright 2014-2023, Intel Corporation */

2) in the header files:

/* SPDX-License-Identifier: BSD-3-Clause */
/* Copyright 2014-2021, Intel Corporation */
bratpiorka commented 2 months ago

we should also add all licenses we use to LICENSE.TXT