diff options
Diffstat (limited to 'liboffloadmic/runtime/coi')
-rw-r--r-- | liboffloadmic/runtime/coi/coi_client.cpp | 4 | ||||
-rw-r--r-- | liboffloadmic/runtime/coi/coi_client.h | 3 | ||||
-rw-r--r-- | liboffloadmic/runtime/coi/coi_server.cpp | 2 | ||||
-rw-r--r-- | liboffloadmic/runtime/coi/coi_server.h | 2 |
4 files changed, 6 insertions, 5 deletions
diff --git a/liboffloadmic/runtime/coi/coi_client.cpp b/liboffloadmic/runtime/coi/coi_client.cpp index ca18e5f9525..179a3029e9c 100644 --- a/liboffloadmic/runtime/coi/coi_client.cpp +++ b/liboffloadmic/runtime/coi/coi_client.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved. + Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -456,7 +456,7 @@ bool init(void) EngineGetInfo = (COIRESULT (*)(COIENGINE, uint32_t, COI_ENGINE_INFO*)) DL_sym(lib_handle, "COIEngineGetInfo", COI_VERSION1); - if (COIEngineGetInfo == 0) { + if (EngineGetInfo == 0) { OFFLOAD_DEBUG_TRACE(2, "Failed to find %s in COI library\n", "COIEngineGetInfo"); fini(); diff --git a/liboffloadmic/runtime/coi/coi_client.h b/liboffloadmic/runtime/coi/coi_client.h index 9c91077aac6..b5b0efc4947 100644 --- a/liboffloadmic/runtime/coi/coi_client.h +++ b/liboffloadmic/runtime/coi/coi_client.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved. + Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions @@ -34,6 +34,7 @@ #define COI_CLIENT_H_INCLUDED #include <common/COIPerf_common.h> +#include <common/COIMacros_common.h> #include <source/COIEngine_source.h> #include <source/COIProcess_source.h> #include <source/COIPipeline_source.h> diff --git a/liboffloadmic/runtime/coi/coi_server.cpp b/liboffloadmic/runtime/coi/coi_server.cpp index 88dde9157da..67aa991eebb 100644 --- a/liboffloadmic/runtime/coi/coi_server.cpp +++ b/liboffloadmic/runtime/coi/coi_server.cpp @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved. + Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff --git a/liboffloadmic/runtime/coi/coi_server.h b/liboffloadmic/runtime/coi/coi_server.h index 2ea67b79562..1afaa3bd810 100644 --- a/liboffloadmic/runtime/coi/coi_server.h +++ b/liboffloadmic/runtime/coi/coi_server.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2015 Intel Corporation. All Rights Reserved. + Copyright (c) 2014-2016 Intel Corporation. All Rights Reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions |