mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 06:24:51 +08:00
refactor: correct spelling
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
c49695fa6e
commit
ad6e02bf2d
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2020-2023 Intel Corporation
|
* Copyright (C) 2020-2024 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
@@ -53,7 +53,7 @@ int main(int argc, char **argv) {
|
|||||||
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;
|
cl_device_type deviceType = CL_DEVICE_TYPE_GPU;
|
||||||
err = clGetDeviceIDs(platforms.get()[0], deviceType, 1, &device_id, NULL);
|
err = clGetDeviceIDs(platforms.get()[0], deviceType, 1, &device_id, NULL);
|
||||||
if (err != CL_SUCCESS) {
|
if (err != CL_SUCCESS) {
|
||||||
cout << "Error gettting device_id" << endl;
|
cout << "Error getting device_id" << endl;
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user