diff --git a/elf/reader.cpp b/elf/reader.cpp index db9b37c68b..693cd1d4de 100644 --- a/elf/reader.cpp +++ b/elf/reader.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -251,4 +251,4 @@ const char *CElfReader::getSectionName( return pName; } -} // namespace OclElfLib +} // namespace CLElfLib diff --git a/elf/types.h b/elf/types.h index de1ca92ed3..1ad4ea546e 100644 --- a/elf/types.h +++ b/elf/types.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -198,4 +198,4 @@ struct SElf64SectionHeader { Elf64_Xword EntrySize; }; -} // namespace ELFlib +} // namespace CLElfLib diff --git a/elf/writer.cpp b/elf/writer.cpp index e5aa25b508..17afb30f11 100644 --- a/elf/writer.cpp +++ b/elf/writer.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -201,7 +201,7 @@ bool CElfWriter::resolveBinary( memcpy_s(pCurString, pNode->Name.size(), pNode->Name.c_str(), pNode->Name.size()); pCurString += pNode->Name.size(); } - *(pCurString++) = '\0'; + *(pCurString++) = '\0'; // NOLINT // delete the node and it's data if (pNode->pData) { @@ -282,4 +282,4 @@ bool CElfWriter::patchElfHeader(char *const pBinary) { return false; } -} // namespace OclElfLib +} // namespace CLElfLib diff --git a/elf/writer.h b/elf/writer.h index 7161730f5d..7907c8c329 100644 --- a/elf/writer.h +++ b/elf/writer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -102,4 +102,4 @@ class CElfWriter { size_t m_stringTableSize = 0U; size_t m_totalBinarySize = 0U; }; -} // namespace ELFLib +} // namespace CLElfLib diff --git a/manifests/manifest.yml b/manifests/manifest.yml index f1e88402d6..2637ee169e 100644 --- a/manifests/manifest.yml +++ b/manifests/manifest.yml @@ -17,7 +17,7 @@ components: branch: infra clean_on_sync: true dest_dir: infra - revision: 3579cc63a0d9ec2666c7ed58d2b624ff0f4692f3 + revision: 8abea2b4f36cb427643575a3127ea3c9c8c157d5 type: git internal: branch: master diff --git a/runtime/accelerators/intel_accelerator.cpp b/runtime/accelerators/intel_accelerator.cpp index 017037b894..8c3d8f8153 100644 --- a/runtime/accelerators/intel_accelerator.cpp +++ b/runtime/accelerators/intel_accelerator.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -78,4 +78,4 @@ cl_int IntelAccelerator::getInfo(cl_accelerator_info_intel paramName, return result; } -} +} // namespace OCLRT diff --git a/runtime/accelerators/intel_motion_estimation.cpp b/runtime/accelerators/intel_motion_estimation.cpp index f21998b7de..9ebd19ac58 100644 --- a/runtime/accelerators/intel_motion_estimation.cpp +++ b/runtime/accelerators/intel_motion_estimation.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -76,4 +76,4 @@ cl_int VmeAccelerator::validateVmeArgs(Context *context, return CL_SUCCESS; } -} +} // namespace OCLRT diff --git a/runtime/accelerators/intel_motion_estimation.h b/runtime/accelerators/intel_motion_estimation.h index 734dc5cd17..24197464c4 100644 --- a/runtime/accelerators/intel_motion_estimation.h +++ b/runtime/accelerators/intel_motion_estimation.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -69,4 +69,4 @@ class VmeAccelerator : public IntelAccelerator { size_t descriptorSize, const void *descriptor); }; -} +} // namespace OCLRT diff --git a/runtime/aub_mem_dump/aub_mem_dump.cpp b/runtime/aub_mem_dump/aub_mem_dump.cpp index dd70a1a89c..e6882abe09 100644 --- a/runtime/aub_mem_dump/aub_mem_dump.cpp +++ b/runtime/aub_mem_dump/aub_mem_dump.cpp @@ -186,4 +186,4 @@ void LrcaHelper::initialize(void *pLRCIn) const { setPDP2(pLRCIn, 0); setPDP3(pLRCIn, 0); } -} +} // namespace AubMemDump diff --git a/runtime/built_ins/vme_dispatch_builder.h b/runtime/built_ins/vme_dispatch_builder.h index 2b58b5a8ac..efb950ee0b 100644 --- a/runtime/built_ins/vme_dispatch_builder.h +++ b/runtime/built_ins/vme_dispatch_builder.h @@ -490,4 +490,4 @@ class BuiltInOpbytesPerChannel; colorSrc += 4; } - return *(uint4 *)temp; + return *(uint4 *)temp; // NOLINT } uchar convert_uchar_sat(uint c) { diff --git a/runtime/builtin_kernels_simulation/opencl_c.h b/runtime/builtin_kernels_simulation/opencl_c.h index 63060c7fe1..78bc603c28 100644 --- a/runtime/builtin_kernels_simulation/opencl_c.h +++ b/runtime/builtin_kernels_simulation/opencl_c.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -301,4 +301,4 @@ TYPE atomic_min(TYPE *first, TYPE2 second) { gMutex.unlock(); return temp; } -} +} // namespace BuiltinKernelsSimulation diff --git a/runtime/command_queue/enqueue_barrier.h b/runtime/command_queue/enqueue_barrier.h index 2e373cdbd9..4cd255c4a6 100644 --- a/runtime/command_queue/enqueue_barrier.h +++ b/runtime/command_queue/enqueue_barrier.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -52,4 +52,4 @@ cl_int CommandQueueHw::enqueueBarrierWithWaitList( return CL_SUCCESS; } -} +} // namespace OCLRT diff --git a/runtime/command_queue/enqueue_copy_buffer.h b/runtime/command_queue/enqueue_copy_buffer.h index 348d2d6b2e..f83d565af6 100644 --- a/runtime/command_queue/enqueue_copy_buffer.h +++ b/runtime/command_queue/enqueue_copy_buffer.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -74,4 +74,4 @@ cl_int CommandQueueHw::enqueueCopyBuffer( return CL_SUCCESS; } -} +} // namespace OCLRT diff --git a/runtime/command_queue/enqueue_fill_buffer.h b/runtime/command_queue/enqueue_fill_buffer.h index 1b13b461a7..c314bc7a87 100644 --- a/runtime/command_queue/enqueue_fill_buffer.h +++ b/runtime/command_queue/enqueue_fill_buffer.h @@ -93,4 +93,4 @@ cl_int CommandQueueHw::enqueueFillBuffer( return CL_SUCCESS; } -} +} // namespace OCLRT diff --git a/runtime/command_queue/enqueue_svm.h b/runtime/command_queue/enqueue_svm.h index 1a71b026c9..1413262b61 100644 --- a/runtime/command_queue/enqueue_svm.h +++ b/runtime/command_queue/enqueue_svm.h @@ -319,4 +319,4 @@ cl_int CommandQueueHw::enqueueSVMMigrateMem(cl_uint numSvmPointers, event); return CL_SUCCESS; } -} +} // namespace OCLRT diff --git a/runtime/command_queue/local_id_gen.h b/runtime/command_queue/local_id_gen.h index 28836e6026..2884bd0834 100644 --- a/runtime/command_queue/local_id_gen.h +++ b/runtime/command_queue/local_id_gen.h @@ -76,4 +76,4 @@ template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); void generateLocalIDs(void *buffer, uint32_t simd, size_t lwsX, size_t lwsY, size_t lwsZ); -} \ No newline at end of file +} // namespace OCLRT \ No newline at end of file diff --git a/runtime/command_queue/local_id_gen.inl b/runtime/command_queue/local_id_gen.inl index 390d660c3d..ba35aaf261 100644 --- a/runtime/command_queue/local_id_gen.inl +++ b/runtime/command_queue/local_id_gen.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -157,4 +157,4 @@ inline void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threa } while (++pass < passes); } -} +} // namespace OCLRT diff --git a/runtime/command_queue/local_id_gen_avx2.cpp b/runtime/command_queue/local_id_gen_avx2.cpp index ee0ec6c5de..c0b262b66c 100644 --- a/runtime/command_queue/local_id_gen_avx2.cpp +++ b/runtime/command_queue/local_id_gen_avx2.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -27,5 +27,5 @@ namespace OCLRT { template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); -} +} // namespace OCLRT #endif \ No newline at end of file diff --git a/runtime/command_queue/local_id_gen_sse4.cpp b/runtime/command_queue/local_id_gen_sse4.cpp index 6f4d2ddecc..56c1e6bdb2 100644 --- a/runtime/command_queue/local_id_gen_sse4.cpp +++ b/runtime/command_queue/local_id_gen_sse4.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -27,4 +27,4 @@ namespace OCLRT { template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); template void generateLocalIDsSimd(void *b, size_t lwsX, size_t lwsY, size_t threadsPerWorkGroup); -} +} // namespace OCLRT diff --git a/runtime/command_stream/aub_command_stream_receiver.h b/runtime/command_stream/aub_command_stream_receiver.h index dd07367328..326e903033 100644 --- a/runtime/command_stream/aub_command_stream_receiver.h +++ b/runtime/command_stream/aub_command_stream_receiver.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -35,4 +35,4 @@ struct AUBCommandStreamReceiver { }; typedef CommandStreamReceiver *(*AubCommandStreamReceiverCreateFunc)(const HardwareInfo &hwInfoIn, const std::string &fileName, bool standalone); -} +} // namespace OCLRT diff --git a/runtime/command_stream/create_command_stream_impl.h b/runtime/command_stream/create_command_stream_impl.h index 117c391efc..508724048d 100644 --- a/runtime/command_stream/create_command_stream_impl.h +++ b/runtime/command_stream/create_command_stream_impl.h @@ -27,4 +27,4 @@ namespace OCLRT { extern CommandStreamReceiver *createCommandStreamImpl(const HardwareInfo *pHwInfo); extern bool getDevicesImpl(HardwareInfo **hwInfo, size_t &numDevicesReturned); -} +} // namespace OCLRT diff --git a/runtime/command_stream/device_command_stream.h b/runtime/command_stream/device_command_stream.h index 26b4e2daf1..ce94d41aea 100644 --- a/runtime/command_stream/device_command_stream.h +++ b/runtime/command_stream/device_command_stream.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -38,4 +38,4 @@ class DeviceCommandStreamReceiver : public CommandStreamReceiverHw { public: static CommandStreamReceiver *create(const HardwareInfo &hwInfo, bool withAubDump); }; -} +} // namespace OCLRT diff --git a/runtime/command_stream/linear_stream.cpp b/runtime/command_stream/linear_stream.cpp index 9431737501..d92ae87fce 100644 --- a/runtime/command_stream/linear_stream.cpp +++ b/runtime/command_stream/linear_stream.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -43,4 +43,4 @@ LinearStream::LinearStream(GraphicsAllocation *gfxAllocation) LinearStream::LinearStream() : LinearStream(nullptr) { } -} +} // namespace OCLRT diff --git a/runtime/command_stream/tbx_command_stream_receiver.cpp b/runtime/command_stream/tbx_command_stream_receiver.cpp index 09c38d67ad..b8ff6f0c67 100644 --- a/runtime/command_stream/tbx_command_stream_receiver.cpp +++ b/runtime/command_stream/tbx_command_stream_receiver.cpp @@ -40,4 +40,4 @@ CommandStreamReceiver *TbxCommandStreamReceiver::create(const HardwareInfo &hwIn return pCreate ? pCreate(hwInfo, withAubDump) : nullptr; } -} +} // namespace OCLRT diff --git a/runtime/compiler_interface/binary_cache.cpp b/runtime/compiler_interface/binary_cache.cpp index e49126b656..fe29ee2e7e 100644 --- a/runtime/compiler_interface/binary_cache.cpp +++ b/runtime/compiler_interface/binary_cache.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -110,4 +110,4 @@ bool BinaryCache::loadCachedBinary(const std::string kernelFileHash, Program &pr return true; } -} // namesapce OCLRT +} // namespace OCLRT diff --git a/runtime/compiler_interface/binary_cache.h b/runtime/compiler_interface/binary_cache.h index 196b542cc6..dd246d7442 100644 --- a/runtime/compiler_interface/binary_cache.h +++ b/runtime/compiler_interface/binary_cache.h @@ -46,4 +46,4 @@ class BinaryCache { static std::mutex cacheAccessMtx; }; -} // namesapce OCLRT +} // namespace OCLRT diff --git a/runtime/compiler_interface/compiler_interface.inl b/runtime/compiler_interface/compiler_interface.inl index 8c9dbeaf04..e959108ec7 100644 --- a/runtime/compiler_interface/compiler_interface.inl +++ b/runtime/compiler_interface/compiler_interface.inl @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, Intel Corporation + * Copyright (c) 2017 - 2018, Intel Corporation * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -54,7 +54,7 @@ CIF::CIFMain *createMainNoSanitize(CIF::CreateCIFMainFunc_t createFunc); template