Просмотр исходного кода

format license text, restore apache license by legal suggestion (#5233)

Neo Zhang Jianyu 1 год назад
Родитель
Сommit
b2b9f025e7
3 измененных файлов с 22 добавлено и 12 удалено
  1. 6 4
      examples/sycl/ls-sycl-device.cpp
  2. 11 4
      ggml-sycl.cpp
  3. 5 4
      ggml-sycl.h

+ 6 - 4
examples/sycl/ls-sycl-device.cpp

@@ -1,7 +1,9 @@
-/*MIT license
-  Copyright (C) 2024 Intel Corporation
-  SPDX-License-Identifier: MIT
-*/
+//
+//  MIT license
+//  Copyright (C) 2024 Intel Corporation
+//  SPDX-License-Identifier: MIT
+//
+
 
 #include "ggml-sycl.h"
 

+ 11 - 4
ggml-sycl.cpp

@@ -1,7 +1,14 @@
-/*MIT license
-  Copyright (C) 2024 Intel Corporation
-  SPDX-License-Identifier: MIT
-*/
+//
+// MIT license
+// Copyright (C) 2024 Intel Corporation
+// SPDX-License-Identifier: MIT
+//
+
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
 
 #include <algorithm>
 #include <assert.h>

+ 5 - 4
ggml-sycl.h

@@ -1,7 +1,8 @@
-/*MIT license
-  Copyright (C) 2024 Intel Corporation
-  SPDX-License-Identifier: MIT
-*/
+//
+//  MIT license
+//  Copyright (C) 2024 Intel Corporation
+//  SPDX-License-Identifier: MIT
+//
 
 #pragma once