diff --git a/LICENSE b/LICENSE index 9f5c6dea78..fe506e83da 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2023 ROCm Developer Tools +Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/samples/api_buffered_tracing/client.cpp b/samples/api_buffered_tracing/client.cpp index 20ed09ee9f..02d729f241 100644 --- a/samples/api_buffered_tracing/client.cpp +++ b/samples/api_buffered_tracing/client.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/api_buffered_tracing/client.hpp b/samples/api_buffered_tracing/client.hpp index d6bcb52c36..9ff8cda2d8 100644 --- a/samples/api_buffered_tracing/client.hpp +++ b/samples/api_buffered_tracing/client.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/api_buffered_tracing/main.cpp b/samples/api_buffered_tracing/main.cpp index 6a721350ec..1c7e73cebb 100644 --- a/samples/api_buffered_tracing/main.cpp +++ b/samples/api_buffered_tracing/main.cpp @@ -1,24 +1,24 @@ -/* -Copyright (c) 2015-2020 Advanced Micro Devices, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "client.hpp" diff --git a/samples/api_callback_tracing/client.cpp b/samples/api_callback_tracing/client.cpp index cfc0299654..35804b31f8 100644 --- a/samples/api_callback_tracing/client.cpp +++ b/samples/api_callback_tracing/client.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/api_callback_tracing/client.hpp b/samples/api_callback_tracing/client.hpp index 134efb027d..3d5b7ac372 100644 --- a/samples/api_callback_tracing/client.hpp +++ b/samples/api_callback_tracing/client.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/api_callback_tracing/main.cpp b/samples/api_callback_tracing/main.cpp index 2c06fad992..cc780e3a6f 100644 --- a/samples/api_callback_tracing/main.cpp +++ b/samples/api_callback_tracing/main.cpp @@ -1,24 +1,24 @@ -/* -Copyright (c) 2015-2020 Advanced Micro Devices, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "client.hpp" diff --git a/samples/code_object_tracing/client.cpp b/samples/code_object_tracing/client.cpp index 3f435659dc..8419cfb90a 100644 --- a/samples/code_object_tracing/client.cpp +++ b/samples/code_object_tracing/client.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -21,7 +21,6 @@ // SOFTWARE. // // undefine NDEBUG so asserts are implemented -#include #ifdef NDEBUG # undef NDEBUG #endif @@ -52,6 +51,7 @@ #include #include #include +#include #include #include #include diff --git a/samples/code_object_tracing/main.cpp b/samples/code_object_tracing/main.cpp index 89db164b81..3687c999a9 100644 --- a/samples/code_object_tracing/main.cpp +++ b/samples/code_object_tracing/main.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/counter_collection/client.cpp b/samples/counter_collection/client.cpp index a0a486fd3d..80cd0a5fe6 100644 --- a/samples/counter_collection/client.cpp +++ b/samples/counter_collection/client.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "client.hpp" #include diff --git a/samples/counter_collection/client.hpp b/samples/counter_collection/client.hpp index aa0eee0480..0bd02f9c92 100644 --- a/samples/counter_collection/client.hpp +++ b/samples/counter_collection/client.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include @@ -5,4 +27,4 @@ #define CLIENT_API __attribute__((visibility("default"))) int -start() CLIENT_API; \ No newline at end of file +start() CLIENT_API; diff --git a/samples/counter_collection/main.cpp b/samples/counter_collection/main.cpp index 596d77c28c..44fe721021 100644 --- a/samples/counter_collection/main.cpp +++ b/samples/counter_collection/main.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include "client.hpp" diff --git a/samples/intercept_table/client.cpp b/samples/intercept_table/client.cpp index 9adf7dae9d..25b972657a 100644 --- a/samples/intercept_table/client.cpp +++ b/samples/intercept_table/client.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/intercept_table/client.hpp b/samples/intercept_table/client.hpp index 976f5afccc..db3ccba359 100644 --- a/samples/intercept_table/client.hpp +++ b/samples/intercept_table/client.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/intercept_table/main.cpp b/samples/intercept_table/main.cpp index 8f63b3be27..fc99283091 100644 --- a/samples/intercept_table/main.cpp +++ b/samples/intercept_table/main.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/samples/pc_sampling/common.h b/samples/pc_sampling/common.h index ff9b7a27db..9074088f35 100644 --- a/samples/pc_sampling/common.h +++ b/samples/pc_sampling/common.h @@ -1,5 +1,26 @@ -#ifndef PC_SAMPLING_COMMON_H -#define PC_SAMPLING_COMMON_H +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +#pragma once #include @@ -124,5 +145,3 @@ run_HIP_app() { // TODO: provide the simple HIP app } - -#endif diff --git a/samples/pc_sampling/single-user-host-trap-retries-service-instantiation.cpp b/samples/pc_sampling/single-user-host-trap-retries-service-instantiation.cpp index 575511a55a..5246c184f9 100644 --- a/samples/pc_sampling/single-user-host-trap-retries-service-instantiation.cpp +++ b/samples/pc_sampling/single-user-host-trap-retries-service-instantiation.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + // Vladimir: The example of using Host-trap PC sampling on a system with single MI200/300 by two // users. The first user initiates Host-Trap sampling with the configuration A. The second user // tries initiaiting stochastic sampling with configuration B and fails. Then it queries available diff --git a/samples/pc_sampling/single-user-host-trap.cpp b/samples/pc_sampling/single-user-host-trap.cpp index c4883ac549..8aebfa248b 100644 --- a/samples/pc_sampling/single-user-host-trap.cpp +++ b/samples/pc_sampling/single-user-host-trap.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + // Vladimir: The example of using Host-trap PC sampling exclusively on the system with single MI200. // If any of the rocprofiler calls returns status fail, we simply stop the application. diff --git a/samples/pc_sampling/single-user-multiple-agents.cpp b/samples/pc_sampling/single-user-multiple-agents.cpp index d5de95bfcf..a64a0bf804 100644 --- a/samples/pc_sampling/single-user-multiple-agents.cpp +++ b/samples/pc_sampling/single-user-multiple-agents.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + // Vladimir: The example that shows how a single user can use PC sampling // on multiple GPU agents. diff --git a/source/docs/conf.py b/source/docs/conf.py index dbf0153479..2ee2df28cb 100644 --- a/source/docs/conf.py +++ b/source/docs/conf.py @@ -34,7 +34,7 @@ read_the_docs_build = os.environ.get("READTHEDOCS", None) == "True" # -- Project information ----------------------------------------------------- project = "rocprofiler" copyright = "2023, Advanced Micro Devices, Inc." -author = "ROCm Developer Tools" +author = "Advanced Micro Devices, Inc." project_root = os.path.normpath(os.path.join(os.getcwd(), "..", "..")) version = open(os.path.join(project_root, "VERSION")).read().strip() diff --git a/source/docs/rocprofiler.dox.in b/source/docs/rocprofiler.dox.in index 9c3e72b103..f8848daa3d 100644 --- a/source/docs/rocprofiler.dox.in +++ b/source/docs/rocprofiler.dox.in @@ -215,7 +215,7 @@ DOCSET_FEEDNAME = "Doxygen generated docs" DOCSET_FEEDURL = DOCSET_BUNDLE_ID = org.doxygen.rocprofiler DOCSET_PUBLISHER_ID = org.doxygen.amd -DOCSET_PUBLISHER_NAME = "AMD ROCm Developer Tools" +DOCSET_PUBLISHER_NAME = "Advanced Micro Devices, Inc." GENERATE_HTMLHELP = NO CHM_FILE = HHC_LOCATION = diff --git a/source/include/rocprofiler/agent.h b/source/include/rocprofiler/agent.h index c53b8158b5..501b8171be 100644 --- a/source/include/rocprofiler/agent.h +++ b/source/include/rocprofiler/agent.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/agent_profile.h b/source/include/rocprofiler/agent_profile.h index 533f979a43..c54133948d 100644 --- a/source/include/rocprofiler/agent_profile.h +++ b/source/include/rocprofiler/agent_profile.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/buffer.h b/source/include/rocprofiler/buffer.h index b99da626f9..8f426d12e6 100644 --- a/source/include/rocprofiler/buffer.h +++ b/source/include/rocprofiler/buffer.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/buffer_tracing.h b/source/include/rocprofiler/buffer_tracing.h index 664717ddfc..a46a0aaadd 100644 --- a/source/include/rocprofiler/buffer_tracing.h +++ b/source/include/rocprofiler/buffer_tracing.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/callback_tracing.h b/source/include/rocprofiler/callback_tracing.h index 845cde17ec..df332b7b99 100644 --- a/source/include/rocprofiler/callback_tracing.h +++ b/source/include/rocprofiler/callback_tracing.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/context.h b/source/include/rocprofiler/context.h index 9054d1d432..bfe581c907 100644 --- a/source/include/rocprofiler/context.h +++ b/source/include/rocprofiler/context.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/counters.h b/source/include/rocprofiler/counters.h index cbbca05c7a..412586998a 100644 --- a/source/include/rocprofiler/counters.h +++ b/source/include/rocprofiler/counters.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/defines.h b/source/include/rocprofiler/defines.h index 2a1f4769dc..be77594661 100644 --- a/source/include/rocprofiler/defines.h +++ b/source/include/rocprofiler/defines.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/dispatch_profile.h b/source/include/rocprofiler/dispatch_profile.h index e86765fb6f..37ce4856b0 100644 --- a/source/include/rocprofiler/dispatch_profile.h +++ b/source/include/rocprofiler/dispatch_profile.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/external_correlation.h b/source/include/rocprofiler/external_correlation.h index 8ed07ac6ae..8d37566874 100644 --- a/source/include/rocprofiler/external_correlation.h +++ b/source/include/rocprofiler/external_correlation.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/fwd.h b/source/include/rocprofiler/fwd.h index ce99be1480..a4920bc564 100644 --- a/source/include/rocprofiler/fwd.h +++ b/source/include/rocprofiler/fwd.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hip.h b/source/include/rocprofiler/hip.h index 3b5bc85f96..9ea71caf20 100644 --- a/source/include/rocprofiler/hip.h +++ b/source/include/rocprofiler/hip.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hip/api_args.h b/source/include/rocprofiler/hip/api_args.h index 3f60030842..365518447d 100644 --- a/source/include/rocprofiler/hip/api_args.h +++ b/source/include/rocprofiler/hip/api_args.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hip/api_id.h b/source/include/rocprofiler/hip/api_id.h index bc1ca47b6d..2563230425 100644 --- a/source/include/rocprofiler/hip/api_id.h +++ b/source/include/rocprofiler/hip/api_id.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hsa.h b/source/include/rocprofiler/hsa.h index 1565fc6afb..bac3f94730 100644 --- a/source/include/rocprofiler/hsa.h +++ b/source/include/rocprofiler/hsa.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hsa/api_args.h b/source/include/rocprofiler/hsa/api_args.h index 3010ccf9fa..f3cd276421 100644 --- a/source/include/rocprofiler/hsa/api_args.h +++ b/source/include/rocprofiler/hsa/api_args.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hsa/api_id.h b/source/include/rocprofiler/hsa/api_id.h index ffa1bc8b7d..359171e118 100644 --- a/source/include/rocprofiler/hsa/api_id.h +++ b/source/include/rocprofiler/hsa/api_id.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/hsa/table_api_id.h b/source/include/rocprofiler/hsa/table_api_id.h index c3ce1cc1c1..b1fe04659f 100644 --- a/source/include/rocprofiler/hsa/table_api_id.h +++ b/source/include/rocprofiler/hsa/table_api_id.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/intercept_table.h b/source/include/rocprofiler/intercept_table.h index f0019d3bc0..72ebf2f8db 100644 --- a/source/include/rocprofiler/intercept_table.h +++ b/source/include/rocprofiler/intercept_table.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/internal_threading.h b/source/include/rocprofiler/internal_threading.h index 154fc65d32..8c5e0837a1 100644 --- a/source/include/rocprofiler/internal_threading.h +++ b/source/include/rocprofiler/internal_threading.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/marker.h b/source/include/rocprofiler/marker.h index 286ab6615d..d1ccaf83c2 100644 --- a/source/include/rocprofiler/marker.h +++ b/source/include/rocprofiler/marker.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/marker/api_args.h b/source/include/rocprofiler/marker/api_args.h index 472465e8da..9a556dbb8f 100644 --- a/source/include/rocprofiler/marker/api_args.h +++ b/source/include/rocprofiler/marker/api_args.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/marker/api_id.h b/source/include/rocprofiler/marker/api_id.h index 2f898c07cc..37bbd2f76b 100644 --- a/source/include/rocprofiler/marker/api_id.h +++ b/source/include/rocprofiler/marker/api_id.h @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/pc_sampling.h b/source/include/rocprofiler/pc_sampling.h index f322cf4b74..18d0e02bd0 100644 --- a/source/include/rocprofiler/pc_sampling.h +++ b/source/include/rocprofiler/pc_sampling.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/profile_config.h b/source/include/rocprofiler/profile_config.h index 1ce14f9172..cc5db3c7fa 100644 --- a/source/include/rocprofiler/profile_config.h +++ b/source/include/rocprofiler/profile_config.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/registration.h b/source/include/rocprofiler/registration.h index 5032b7071a..d9d6887638 100644 --- a/source/include/rocprofiler/registration.h +++ b/source/include/rocprofiler/registration.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/rocprofiler.h b/source/include/rocprofiler/rocprofiler.h index 07c84ac976..c9c5d166ff 100644 --- a/source/include/rocprofiler/rocprofiler.h +++ b/source/include/rocprofiler/rocprofiler.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/rocprofiler_plugin.h b/source/include/rocprofiler/rocprofiler_plugin.h index 41ac0a60b3..afee67a8a3 100644 --- a/source/include/rocprofiler/rocprofiler_plugin.h +++ b/source/include/rocprofiler/rocprofiler_plugin.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/spm.h b/source/include/rocprofiler/spm.h index 420e1a19ff..b8b570b2b7 100644 --- a/source/include/rocprofiler/spm.h +++ b/source/include/rocprofiler/spm.h @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/include/rocprofiler/version.h.in b/source/include/rocprofiler/version.h.in index 5e190c7fb1..a7f05cc6fb 100644 --- a/source/include/rocprofiler/version.h.in +++ b/source/include/rocprofiler/version.h.in @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/config.cpp b/source/lib/common/config.cpp index 0768e1aa61..712b1b98d8 100644 --- a/source/lib/common/config.cpp +++ b/source/lib/common/config.cpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/config.hpp b/source/lib/common/config.hpp index 895b4ebd77..84ea6672ef 100644 --- a/source/lib/common/config.hpp +++ b/source/lib/common/config.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/container/record_header_buffer.cpp b/source/lib/common/container/record_header_buffer.cpp index cf35a38a19..ab8b6a6033 100644 --- a/source/lib/common/container/record_header_buffer.cpp +++ b/source/lib/common/container/record_header_buffer.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/container/record_header_buffer.hpp b/source/lib/common/container/record_header_buffer.hpp index f5b8c7ec38..5591dfefe6 100644 --- a/source/lib/common/container/record_header_buffer.hpp +++ b/source/lib/common/container/record_header_buffer.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/container/ring_buffer.cpp b/source/lib/common/container/ring_buffer.cpp index d1a7bcaef0..14f6ce5987 100644 --- a/source/lib/common/container/ring_buffer.cpp +++ b/source/lib/common/container/ring_buffer.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/container/ring_buffer.hpp b/source/lib/common/container/ring_buffer.hpp index 25ffacb246..14e5b64f4c 100644 --- a/source/lib/common/container/ring_buffer.hpp +++ b/source/lib/common/container/ring_buffer.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/container/small_vector.cpp b/source/lib/common/container/small_vector.cpp index af27e6e799..b5d82010d2 100644 --- a/source/lib/common/container/small_vector.cpp +++ b/source/lib/common/container/small_vector.cpp @@ -1,16 +1,16 @@ -// MIT license +// MIT License // -// copyright (c) 2022 advanced micro devices, inc. all rights reserved. +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // -// permission is hereby granted, free of charge, to any person obtaining a copy +// Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal -// in the software without restriction, including without limitation the rights +// in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the software, and to permit persons to whom the software is +// copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // -// the above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the software. +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/source/lib/common/container/small_vector.hpp b/source/lib/common/container/small_vector.hpp index e16c06da16..8f74f1b6e4 100644 --- a/source/lib/common/container/small_vector.hpp +++ b/source/lib/common/container/small_vector.hpp @@ -1,16 +1,16 @@ -// MIT license +// MIT License // -// copyright (c) 2022 advanced micro devices, inc. all rights reserved. +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // -// permission is hereby granted, free of charge, to any person obtaining a copy +// Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal -// in the software without restriction, including without limitation the rights +// in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the software, and to permit persons to whom the software is +// copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // -// the above copyright notice and this permission notice shall be included in all -// copies or substantial portions of the software. +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, diff --git a/source/lib/common/defines.hpp b/source/lib/common/defines.hpp index 7fc7f74f1d..e1a0974dd3 100644 --- a/source/lib/common/defines.hpp +++ b/source/lib/common/defines.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/demangle.cpp b/source/lib/common/demangle.cpp index 71b6baddf4..0ee86d9818 100644 --- a/source/lib/common/demangle.cpp +++ b/source/lib/common/demangle.cpp @@ -1,22 +1,24 @@ -/* Copyright (c) 2022 Advanced Micro Devices, Inc. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. */ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "lib/common/demangle.hpp" diff --git a/source/lib/common/demangle.hpp b/source/lib/common/demangle.hpp index 6fa7631a6c..23126a1557 100644 --- a/source/lib/common/demangle.hpp +++ b/source/lib/common/demangle.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/environment.cpp b/source/lib/common/environment.cpp index 815f37fa04..27de140c6d 100644 --- a/source/lib/common/environment.cpp +++ b/source/lib/common/environment.cpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/environment.hpp b/source/lib/common/environment.hpp index d55f9c0b54..807233838e 100644 --- a/source/lib/common/environment.hpp +++ b/source/lib/common/environment.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/memory/deleter.hpp b/source/lib/common/memory/deleter.hpp index 01ca522000..bfbc6ebaeb 100644 --- a/source/lib/common/memory/deleter.hpp +++ b/source/lib/common/memory/deleter.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/memory/pool.hpp b/source/lib/common/memory/pool.hpp index 5d3854a18f..c723372615 100644 --- a/source/lib/common/memory/pool.hpp +++ b/source/lib/common/memory/pool.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/memory/pool_allocator.hpp b/source/lib/common/memory/pool_allocator.hpp index 1eb1d45f1c..883f0030f9 100644 --- a/source/lib/common/memory/pool_allocator.hpp +++ b/source/lib/common/memory/pool_allocator.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/memory/stateless_allocator.hpp b/source/lib/common/memory/stateless_allocator.hpp index 429ffda5e4..0e96f92633 100644 --- a/source/lib/common/memory/stateless_allocator.hpp +++ b/source/lib/common/memory/stateless_allocator.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/mpl.hpp b/source/lib/common/mpl.hpp index a1aa104ebc..1f05912ad9 100644 --- a/source/lib/common/mpl.hpp +++ b/source/lib/common/mpl.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/scope_destructor.hpp b/source/lib/common/scope_destructor.hpp index 76312dfa77..93447fb23a 100644 --- a/source/lib/common/scope_destructor.hpp +++ b/source/lib/common/scope_destructor.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/synchronized.hpp b/source/lib/common/synchronized.hpp index 684b7ec41a..5f0341d39c 100644 --- a/source/lib/common/synchronized.hpp +++ b/source/lib/common/synchronized.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/units.hpp b/source/lib/common/units.hpp index 6d3a88902b..9d376df9b2 100644 --- a/source/lib/common/units.hpp +++ b/source/lib/common/units.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/utility.cpp b/source/lib/common/utility.cpp index 5327551390..66ff3ccddf 100644 --- a/source/lib/common/utility.cpp +++ b/source/lib/common/utility.cpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/utility.hpp b/source/lib/common/utility.hpp index 35d234e74e..9dac80a7f2 100644 --- a/source/lib/common/utility.hpp +++ b/source/lib/common/utility.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/common/xml.cpp b/source/lib/common/xml.cpp index 31fab68494..cfda098bb8 100644 --- a/source/lib/common/xml.cpp +++ b/source/lib/common/xml.cpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/common/xml.hpp b/source/lib/common/xml.hpp index 3abf0c6af9..88fe2d3346 100644 --- a/source/lib/common/xml.hpp +++ b/source/lib/common/xml.hpp @@ -1,3 +1,5 @@ +// MIT License +// // Copyright (c) 2023 Advanced Micro Devices, Inc. // // Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/rocprofiler/agent.cpp b/source/lib/rocprofiler/agent.cpp index d0a396c2ae..a182bf2212 100644 --- a/source/lib/rocprofiler/agent.cpp +++ b/source/lib/rocprofiler/agent.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/agent.hpp b/source/lib/rocprofiler/agent.hpp index 9d271a3a51..e0d2aa1346 100644 --- a/source/lib/rocprofiler/agent.hpp +++ b/source/lib/rocprofiler/agent.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/allocator.cpp b/source/lib/rocprofiler/allocator.cpp index 6434a4b8f8..5df352d41e 100644 --- a/source/lib/rocprofiler/allocator.cpp +++ b/source/lib/rocprofiler/allocator.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/allocator.hpp b/source/lib/rocprofiler/allocator.hpp index 217bd2cd37..f728d0e7ca 100644 --- a/source/lib/rocprofiler/allocator.hpp +++ b/source/lib/rocprofiler/allocator.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/aql/helpers.cpp b/source/lib/rocprofiler/aql/helpers.cpp index 735462edfd..e4a92507cd 100644 --- a/source/lib/rocprofiler/aql/helpers.cpp +++ b/source/lib/rocprofiler/aql/helpers.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/aql/helpers.hpp" #include diff --git a/source/lib/rocprofiler/aql/helpers.hpp b/source/lib/rocprofiler/aql/helpers.hpp index d36d72c0e0..e54d8a08ef 100644 --- a/source/lib/rocprofiler/aql/helpers.hpp +++ b/source/lib/rocprofiler/aql/helpers.hpp @@ -1,3 +1,24 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/aql/intercept.cpp b/source/lib/rocprofiler/aql/intercept.cpp index 6dd64b5025..7a21cd6901 100644 --- a/source/lib/rocprofiler/aql/intercept.cpp +++ b/source/lib/rocprofiler/aql/intercept.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/aql/intercept.hpp" #include "lib/rocprofiler/hsa/hsa.hpp" diff --git a/source/lib/rocprofiler/aql/intercept.hpp b/source/lib/rocprofiler/aql/intercept.hpp index b4dc6a1b78..0427af11e4 100644 --- a/source/lib/rocprofiler/aql/intercept.hpp +++ b/source/lib/rocprofiler/aql/intercept.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/aql/packet_construct.cpp b/source/lib/rocprofiler/aql/packet_construct.cpp index 832c3c1cd2..02d7278866 100644 --- a/source/lib/rocprofiler/aql/packet_construct.cpp +++ b/source/lib/rocprofiler/aql/packet_construct.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/aql/packet_construct.hpp" #include diff --git a/source/lib/rocprofiler/aql/packet_construct.hpp b/source/lib/rocprofiler/aql/packet_construct.hpp index 948ddcb5a3..e918e69310 100644 --- a/source/lib/rocprofiler/aql/packet_construct.hpp +++ b/source/lib/rocprofiler/aql/packet_construct.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/aql/tests/aql_test.cpp b/source/lib/rocprofiler/aql/tests/aql_test.cpp index 22e44a01bd..ed914ec370 100644 --- a/source/lib/rocprofiler/aql/tests/aql_test.cpp +++ b/source/lib/rocprofiler/aql/tests/aql_test.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include diff --git a/source/lib/rocprofiler/buffer.cpp b/source/lib/rocprofiler/buffer.cpp index b4c778c145..318dc1ae2e 100644 --- a/source/lib/rocprofiler/buffer.cpp +++ b/source/lib/rocprofiler/buffer.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/buffer.hpp b/source/lib/rocprofiler/buffer.hpp index fdd784589e..9288fefa5f 100644 --- a/source/lib/rocprofiler/buffer.hpp +++ b/source/lib/rocprofiler/buffer.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/buffer_tracing.cpp b/source/lib/rocprofiler/buffer_tracing.cpp index fc6b0f4c9d..348245880f 100644 --- a/source/lib/rocprofiler/buffer_tracing.cpp +++ b/source/lib/rocprofiler/buffer_tracing.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/callback_tracing.cpp b/source/lib/rocprofiler/callback_tracing.cpp index 79619b43a1..b55472b0d2 100644 --- a/source/lib/rocprofiler/callback_tracing.cpp +++ b/source/lib/rocprofiler/callback_tracing.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context.cpp b/source/lib/rocprofiler/context.cpp index 81776c8c53..966e9c2394 100644 --- a/source/lib/rocprofiler/context.cpp +++ b/source/lib/rocprofiler/context.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context/allocator.hpp b/source/lib/rocprofiler/context/allocator.hpp index 5b6c8ff368..abdf4def3d 100644 --- a/source/lib/rocprofiler/context/allocator.hpp +++ b/source/lib/rocprofiler/context/allocator.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context/context.cpp b/source/lib/rocprofiler/context/context.cpp index 80a36f3de2..adddfd8839 100644 --- a/source/lib/rocprofiler/context/context.cpp +++ b/source/lib/rocprofiler/context/context.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context/context.hpp b/source/lib/rocprofiler/context/context.hpp index de32bd536e..132b1a8b92 100644 --- a/source/lib/rocprofiler/context/context.hpp +++ b/source/lib/rocprofiler/context/context.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context/domain.cpp b/source/lib/rocprofiler/context/domain.cpp index 5a9aa74a34..5399def4f8 100644 --- a/source/lib/rocprofiler/context/domain.cpp +++ b/source/lib/rocprofiler/context/domain.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/context/domain.hpp b/source/lib/rocprofiler/context/domain.hpp index d1dfae5f30..b46bc96f91 100644 --- a/source/lib/rocprofiler/context/domain.hpp +++ b/source/lib/rocprofiler/context/domain.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/counters.cpp b/source/lib/rocprofiler/counters.cpp index 82075885b8..4e89a29f8c 100644 --- a/source/lib/rocprofiler/counters.cpp +++ b/source/lib/rocprofiler/counters.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include "lib/common/synchronized.hpp" diff --git a/source/lib/rocprofiler/counters/core.cpp b/source/lib/rocprofiler/counters/core.cpp index 94abed6fa1..cb93f6d2de 100644 --- a/source/lib/rocprofiler/counters/core.cpp +++ b/source/lib/rocprofiler/counters/core.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/counters/core.hpp" #include "lib/common/synchronized.hpp" diff --git a/source/lib/rocprofiler/counters/core.hpp b/source/lib/rocprofiler/counters/core.hpp index a4e90a6af3..5ff53dfe53 100644 --- a/source/lib/rocprofiler/counters/core.hpp +++ b/source/lib/rocprofiler/counters/core.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/counters/dimensions.cpp b/source/lib/rocprofiler/counters/dimensions.cpp index 177cb085fc..e74b9b5ec7 100644 --- a/source/lib/rocprofiler/counters/dimensions.cpp +++ b/source/lib/rocprofiler/counters/dimensions.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "dimensions.hpp" #include diff --git a/source/lib/rocprofiler/counters/dimensions.hpp b/source/lib/rocprofiler/counters/dimensions.hpp index af554d07ef..4483f9f46a 100644 --- a/source/lib/rocprofiler/counters/dimensions.hpp +++ b/source/lib/rocprofiler/counters/dimensions.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include @@ -78,4 +100,4 @@ getBlockDimensions(const std::string& agent, const counters::Metric&); // getDimensionById(uint64_t id); } // namespace counters -} // namespace rocprofiler \ No newline at end of file +} // namespace rocprofiler diff --git a/source/lib/rocprofiler/counters/evaluate_ast.cpp b/source/lib/rocprofiler/counters/evaluate_ast.cpp index 041c8311d5..f2374b62c6 100644 --- a/source/lib/rocprofiler/counters/evaluate_ast.cpp +++ b/source/lib/rocprofiler/counters/evaluate_ast.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/counters/evaluate_ast.hpp" #include diff --git a/source/lib/rocprofiler/counters/evaluate_ast.hpp b/source/lib/rocprofiler/counters/evaluate_ast.hpp index 1ed623e9a2..ee7ece4c8f 100644 --- a/source/lib/rocprofiler/counters/evaluate_ast.hpp +++ b/source/lib/rocprofiler/counters/evaluate_ast.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include @@ -121,4 +143,4 @@ struct formatter data.hw_counter); } }; -} // namespace fmt \ No newline at end of file +} // namespace fmt diff --git a/source/lib/rocprofiler/counters/id_decode.cpp b/source/lib/rocprofiler/counters/id_decode.cpp index 2c9beb0759..b36ef4ad60 100644 --- a/source/lib/rocprofiler/counters/id_decode.cpp +++ b/source/lib/rocprofiler/counters/id_decode.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/counters/id_decode.hpp" #include @@ -24,4 +46,4 @@ dimension_map() } } // namespace counters -} // namespace rocprofiler \ No newline at end of file +} // namespace rocprofiler diff --git a/source/lib/rocprofiler/counters/id_decode.hpp b/source/lib/rocprofiler/counters/id_decode.hpp index 1886b329a7..17fae2b2fa 100644 --- a/source/lib/rocprofiler/counters/id_decode.hpp +++ b/source/lib/rocprofiler/counters/id_decode.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include @@ -101,4 +123,4 @@ rocprofiler::counters::rec_to_dim_pos(rocprofiler_counter_instance_id_t size_t bit_length = DIM_BIT_LENGTH / ROCPROFILER_DIMENSION_LAST; id = id & ((MAX_64 >> (64 - bit_length)) << ((dim - 1) * bit_length)); return id >> ((dim - 1) * bit_length); -} \ No newline at end of file +} diff --git a/source/lib/rocprofiler/counters/metrics.cpp b/source/lib/rocprofiler/counters/metrics.cpp index e9d39895d3..dfe4823792 100644 --- a/source/lib/rocprofiler/counters/metrics.cpp +++ b/source/lib/rocprofiler/counters/metrics.cpp @@ -1,24 +1,24 @@ -/****************************************************************************** -Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -*******************************************************************************/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "metrics.hpp" diff --git a/source/lib/rocprofiler/counters/metrics.hpp b/source/lib/rocprofiler/counters/metrics.hpp index ba08ecda42..171ba8226b 100644 --- a/source/lib/rocprofiler/counters/metrics.hpp +++ b/source/lib/rocprofiler/counters/metrics.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/counters/parser/raw_ast.hpp b/source/lib/rocprofiler/counters/parser/raw_ast.hpp index fb4a8480db..b234bc7f85 100644 --- a/source/lib/rocprofiler/counters/parser/raw_ast.hpp +++ b/source/lib/rocprofiler/counters/parser/raw_ast.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/counters/parser/reader.hpp b/source/lib/rocprofiler/counters/parser/reader.hpp index bf894981c5..bac268ae0b 100644 --- a/source/lib/rocprofiler/counters/parser/reader.hpp +++ b/source/lib/rocprofiler/counters/parser/reader.hpp @@ -1,4 +1,26 @@ -#pragma ONCE +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + +#pragma once #include "parser.h" diff --git a/source/lib/rocprofiler/counters/parser/tests/parser_test.cpp b/source/lib/rocprofiler/counters/parser/tests/parser_test.cpp index 9a81b9f566..06357f7b42 100644 --- a/source/lib/rocprofiler/counters/parser/tests/parser_test.cpp +++ b/source/lib/rocprofiler/counters/parser/tests/parser_test.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include #include diff --git a/source/lib/rocprofiler/counters/tests/dimension.cpp b/source/lib/rocprofiler/counters/tests/dimension.cpp index a42ddc4277..d2db35df48 100644 --- a/source/lib/rocprofiler/counters/tests/dimension.cpp +++ b/source/lib/rocprofiler/counters/tests/dimension.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include "lib/common/utility.hpp" @@ -79,4 +101,4 @@ TEST(dimension, set_get) set_dim_in_rec(test_id, ROCPROFILER_DIMENSION_NONE, 0xFAFBFCFDFEFF); EXPECT_EQ(rec_to_dim_pos(test_id, ROCPROFILER_DIMENSION_NONE), 0xFAFBFCFDFEFF); EXPECT_EQ(rec_to_counter_id(test_id).handle, 123); -} \ No newline at end of file +} diff --git a/source/lib/rocprofiler/counters/tests/evaluate_ast_test.cpp b/source/lib/rocprofiler/counters/tests/evaluate_ast_test.cpp index 652cc075ad..d2371858ed 100644 --- a/source/lib/rocprofiler/counters/tests/evaluate_ast_test.cpp +++ b/source/lib/rocprofiler/counters/tests/evaluate_ast_test.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include diff --git a/source/lib/rocprofiler/counters/tests/evaluate_ast_test.hpp b/source/lib/rocprofiler/counters/tests/evaluate_ast_test.hpp index a630ba8fc7..901cfceb0a 100644 --- a/source/lib/rocprofiler/counters/tests/evaluate_ast_test.hpp +++ b/source/lib/rocprofiler/counters/tests/evaluate_ast_test.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/counters/tests/metrics_test.cpp b/source/lib/rocprofiler/counters/tests/metrics_test.cpp index 9a81b845d7..318a08d950 100644 --- a/source/lib/rocprofiler/counters/tests/metrics_test.cpp +++ b/source/lib/rocprofiler/counters/tests/metrics_test.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "metrics_test.h" #include diff --git a/source/lib/rocprofiler/counters/tests/metrics_test.h b/source/lib/rocprofiler/counters/tests/metrics_test.h index 5cc9c162b0..c53bb0e084 100644 --- a/source/lib/rocprofiler/counters/tests/metrics_test.h +++ b/source/lib/rocprofiler/counters/tests/metrics_test.h @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/dispatch_profile.cpp b/source/lib/rocprofiler/dispatch_profile.cpp index 2c8b4dbb08..8b3e0cfbde 100644 --- a/source/lib/rocprofiler/dispatch_profile.cpp +++ b/source/lib/rocprofiler/dispatch_profile.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include "lib/rocprofiler/aql/helpers.hpp" diff --git a/source/lib/rocprofiler/external_correlation.cpp b/source/lib/rocprofiler/external_correlation.cpp index 2b97c53c53..8b6023375f 100644 --- a/source/lib/rocprofiler/external_correlation.cpp +++ b/source/lib/rocprofiler/external_correlation.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/external_correlation.hpp b/source/lib/rocprofiler/external_correlation.hpp index 30f8d4b940..4da866290f 100644 --- a/source/lib/rocprofiler/external_correlation.hpp +++ b/source/lib/rocprofiler/external_correlation.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/agent_cache.cpp b/source/lib/rocprofiler/hsa/agent_cache.cpp index 7b4cb6b9cd..e721b431ae 100644 --- a/source/lib/rocprofiler/hsa/agent_cache.cpp +++ b/source/lib/rocprofiler/hsa/agent_cache.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/agent_cache.hpp b/source/lib/rocprofiler/hsa/agent_cache.hpp index 17746b87f2..c6105fa8b3 100644 --- a/source/lib/rocprofiler/hsa/agent_cache.hpp +++ b/source/lib/rocprofiler/hsa/agent_cache.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/aql_packet.cpp b/source/lib/rocprofiler/hsa/aql_packet.cpp index ff0a5568ec..3c861c0c7a 100644 --- a/source/lib/rocprofiler/hsa/aql_packet.cpp +++ b/source/lib/rocprofiler/hsa/aql_packet.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/aql_packet.hpp b/source/lib/rocprofiler/hsa/aql_packet.hpp index 4548c4eabc..105a966221 100644 --- a/source/lib/rocprofiler/hsa/aql_packet.hpp +++ b/source/lib/rocprofiler/hsa/aql_packet.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/code_object.cpp b/source/lib/rocprofiler/hsa/code_object.cpp index 3a3252881a..2947c902c6 100644 --- a/source/lib/rocprofiler/hsa/code_object.cpp +++ b/source/lib/rocprofiler/hsa/code_object.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/code_object.hpp b/source/lib/rocprofiler/hsa/code_object.hpp index 8980a5d236..37feb99599 100644 --- a/source/lib/rocprofiler/hsa/code_object.hpp +++ b/source/lib/rocprofiler/hsa/code_object.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/defines.hpp b/source/lib/rocprofiler/hsa/defines.hpp index ba933f58f2..728f3c5dff 100644 --- a/source/lib/rocprofiler/hsa/defines.hpp +++ b/source/lib/rocprofiler/hsa/defines.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/details/ostream.hpp b/source/lib/rocprofiler/hsa/details/ostream.hpp index 1fd8077b7c..a2fc3e2c74 100644 --- a/source/lib/rocprofiler/hsa/details/ostream.hpp +++ b/source/lib/rocprofiler/hsa/details/ostream.hpp @@ -1,25 +1,24 @@ -// automatically generated -/* -Copyright (c) 2018 Advanced Micro Devices, Inc. All rights reserved. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/hsa/hsa.cpp b/source/lib/rocprofiler/hsa/hsa.cpp index 725ed52f87..4da87b0b67 100644 --- a/source/lib/rocprofiler/hsa/hsa.cpp +++ b/source/lib/rocprofiler/hsa/hsa.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/hsa.def.cpp b/source/lib/rocprofiler/hsa/hsa.def.cpp index 0d4f34a938..fb8612459f 100644 --- a/source/lib/rocprofiler/hsa/hsa.def.cpp +++ b/source/lib/rocprofiler/hsa/hsa.def.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/hsa.hpp b/source/lib/rocprofiler/hsa/hsa.hpp index 757e27217c..4409a9dbd7 100644 --- a/source/lib/rocprofiler/hsa/hsa.hpp +++ b/source/lib/rocprofiler/hsa/hsa.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/queue.cpp b/source/lib/rocprofiler/hsa/queue.cpp index 45fe4f4631..75f90f7fc3 100644 --- a/source/lib/rocprofiler/hsa/queue.cpp +++ b/source/lib/rocprofiler/hsa/queue.cpp @@ -1,3 +1,5 @@ +// MIT License +// /* Copyright (c) 2022 Advanced Micro Devices, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy diff --git a/source/lib/rocprofiler/hsa/queue.hpp b/source/lib/rocprofiler/hsa/queue.hpp index bc7c1d118c..c633b438dd 100644 --- a/source/lib/rocprofiler/hsa/queue.hpp +++ b/source/lib/rocprofiler/hsa/queue.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/queue_controller.cpp b/source/lib/rocprofiler/hsa/queue_controller.cpp index 2ab6c2b26a..1033b9a8b0 100644 --- a/source/lib/rocprofiler/hsa/queue_controller.cpp +++ b/source/lib/rocprofiler/hsa/queue_controller.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/queue_controller.hpp b/source/lib/rocprofiler/hsa/queue_controller.hpp index b082c7a2fd..f66c34851d 100644 --- a/source/lib/rocprofiler/hsa/queue_controller.hpp +++ b/source/lib/rocprofiler/hsa/queue_controller.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/types.hpp b/source/lib/rocprofiler/hsa/types.hpp index 4768e72e4a..0b2831bce1 100644 --- a/source/lib/rocprofiler/hsa/types.hpp +++ b/source/lib/rocprofiler/hsa/types.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/hsa/utils.hpp b/source/lib/rocprofiler/hsa/utils.hpp index 59cd4b3b09..5373c0e9cf 100644 --- a/source/lib/rocprofiler/hsa/utils.hpp +++ b/source/lib/rocprofiler/hsa/utils.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/intercept_table.cpp b/source/lib/rocprofiler/intercept_table.cpp index 0e31c08769..82fe0588ea 100644 --- a/source/lib/rocprofiler/intercept_table.cpp +++ b/source/lib/rocprofiler/intercept_table.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/intercept_table.hpp b/source/lib/rocprofiler/intercept_table.hpp index 4619ed95e6..47f7db852d 100644 --- a/source/lib/rocprofiler/intercept_table.hpp +++ b/source/lib/rocprofiler/intercept_table.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/internal_threading.cpp b/source/lib/rocprofiler/internal_threading.cpp index c3b71d1d6d..eb474f1ee9 100644 --- a/source/lib/rocprofiler/internal_threading.cpp +++ b/source/lib/rocprofiler/internal_threading.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/internal_threading.hpp b/source/lib/rocprofiler/internal_threading.hpp index 22b8568efb..0eeadb2d06 100644 --- a/source/lib/rocprofiler/internal_threading.hpp +++ b/source/lib/rocprofiler/internal_threading.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/pc_sampling.cpp b/source/lib/rocprofiler/pc_sampling.cpp index 4d600954ee..3a35fdd20c 100644 --- a/source/lib/rocprofiler/pc_sampling.cpp +++ b/source/lib/rocprofiler/pc_sampling.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/pc_sampling/parser/correlation.cpp b/source/lib/rocprofiler/pc_sampling/parser/correlation.cpp index 81c0ebfe93..85d1c3594e 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/correlation.cpp +++ b/source/lib/rocprofiler/pc_sampling/parser/correlation.cpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "lib/rocprofiler/pc_sampling/parser/correlation.hpp" diff --git a/source/lib/rocprofiler/pc_sampling/parser/correlation.hpp b/source/lib/rocprofiler/pc_sampling/parser/correlation.hpp index 4a50fa0329..fe634e5fbb 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/correlation.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/correlation.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once @@ -227,4 +227,4 @@ parse_buffer(generic_sample_t* buffer, uint64_t buffer_size, int gfxip_major, user_callback_t callback, - void* userdata); \ No newline at end of file + void* userdata); diff --git a/source/lib/rocprofiler/pc_sampling/parser/gfx11.hpp b/source/lib/rocprofiler/pc_sampling/parser/gfx11.hpp index 519de7c982..f1cafb5fe3 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/gfx11.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/gfx11.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/pc_sampling/parser/gfx9.hpp b/source/lib/rocprofiler/pc_sampling/parser/gfx9.hpp index 99c03140c8..799bc49899 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/gfx9.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/gfx9.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/pc_sampling/parser/parser_types.hpp b/source/lib/rocprofiler/pc_sampling/parser/parser_types.hpp index a885d3b702..fc420308bf 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/parser_types.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/parser_types.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.cpp b/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.cpp index 42335a5f7a..31ebde998e 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.cpp +++ b/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include "lib/rocprofiler/pc_sampling/parser/pc_record_interface.hpp" uint64_t diff --git a/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.hpp b/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.hpp index b0efe446ee..544f47f736 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/pc_record_interface.hpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #pragma once #include diff --git a/source/lib/rocprofiler/pc_sampling/parser/rocr.hpp b/source/lib/rocprofiler/pc_sampling/parser/rocr.hpp index e1e348a381..5ba27f12ba 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/rocr.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/rocr.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/pc_sampling/parser/tests/mocks.hpp b/source/lib/rocprofiler/pc_sampling/parser/tests/mocks.hpp index 523f7efaae..f8af248b12 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/tests/mocks.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/tests/mocks.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/pc_sampling/parser/tests/pcs_parser.cpp b/source/lib/rocprofiler/pc_sampling/parser/tests/pcs_parser.cpp index d46ebf16bd..c9c43bac39 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/tests/pcs_parser.cpp +++ b/source/lib/rocprofiler/pc_sampling/parser/tests/pcs_parser.cpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include #include @@ -795,4 +795,4 @@ TEST(pcs_parser, gfx9) } // TODO: refactor the tests, modularize them and extract unit tests -// from the integration f \ No newline at end of file +// from the integration f diff --git a/source/lib/rocprofiler/pc_sampling/parser/translation.cpp b/source/lib/rocprofiler/pc_sampling/parser/translation.cpp index b33fdb7b44..8147ab4b27 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/translation.cpp +++ b/source/lib/rocprofiler/pc_sampling/parser/translation.cpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #include "lib/rocprofiler/pc_sampling/parser/translation.hpp" diff --git a/source/lib/rocprofiler/pc_sampling/parser/translation.hpp b/source/lib/rocprofiler/pc_sampling/parser/translation.hpp index e65de90688..9cc4dac095 100644 --- a/source/lib/rocprofiler/pc_sampling/parser/translation.hpp +++ b/source/lib/rocprofiler/pc_sampling/parser/translation.hpp @@ -1,24 +1,24 @@ -/* - Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in - all copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN - THE SOFTWARE. -*/ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in +// all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +// THE SOFTWARE. #pragma once diff --git a/source/lib/rocprofiler/profile_config.cpp b/source/lib/rocprofiler/profile_config.cpp index 00c60a0ba0..572a73567a 100644 --- a/source/lib/rocprofiler/profile_config.cpp +++ b/source/lib/rocprofiler/profile_config.cpp @@ -1,3 +1,25 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + #include #include "lib/common/synchronized.hpp" diff --git a/source/lib/rocprofiler/registration.cpp b/source/lib/rocprofiler/registration.cpp index 593ab86614..080b8c7c3a 100644 --- a/source/lib/rocprofiler/registration.cpp +++ b/source/lib/rocprofiler/registration.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/registration.hpp b/source/lib/rocprofiler/registration.hpp index 5abfdf8e57..70ea1d77a3 100644 --- a/source/lib/rocprofiler/registration.hpp +++ b/source/lib/rocprofiler/registration.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/rocprofiler.cpp b/source/lib/rocprofiler/rocprofiler.cpp index 1a6a9caced..9dd6e94f9d 100644 --- a/source/lib/rocprofiler/rocprofiler.cpp +++ b/source/lib/rocprofiler/rocprofiler.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/agent.cpp b/source/lib/rocprofiler/tests/agent.cpp index 13bce3db26..810a863a1d 100644 --- a/source/lib/rocprofiler/tests/agent.cpp +++ b/source/lib/rocprofiler/tests/agent.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/buffer.cpp b/source/lib/rocprofiler/tests/buffer.cpp index b9e9d0f210..39d993f524 100644 --- a/source/lib/rocprofiler/tests/buffer.cpp +++ b/source/lib/rocprofiler/tests/buffer.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/details/agent.cpp b/source/lib/rocprofiler/tests/details/agent.cpp index aaafadcd91..6291234444 100644 --- a/source/lib/rocprofiler/tests/details/agent.cpp +++ b/source/lib/rocprofiler/tests/details/agent.cpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/details/agent.hpp b/source/lib/rocprofiler/tests/details/agent.hpp index 31297503da..892fbbac8b 100644 --- a/source/lib/rocprofiler/tests/details/agent.hpp +++ b/source/lib/rocprofiler/tests/details/agent.hpp @@ -1,4 +1,6 @@ -// Copyright (c) 2018-2023 Advanced Micro Devices, Inc. +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/external_correlation.cpp b/source/lib/rocprofiler/tests/external_correlation.cpp index bbf2e8c64f..d3387dc686 100644 --- a/source/lib/rocprofiler/tests/external_correlation.cpp +++ b/source/lib/rocprofiler/tests/external_correlation.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/intercept_table.cpp b/source/lib/rocprofiler/tests/intercept_table.cpp index 97e21d76ea..b5a060c812 100644 --- a/source/lib/rocprofiler/tests/intercept_table.cpp +++ b/source/lib/rocprofiler/tests/intercept_table.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/registration.cpp b/source/lib/rocprofiler/tests/registration.cpp index 85e1b3c654..73f6e41762 100644 --- a/source/lib/rocprofiler/tests/registration.cpp +++ b/source/lib/rocprofiler/tests/registration.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/status.cpp b/source/lib/rocprofiler/tests/status.cpp index 8dc595e600..64c4a55465 100644 --- a/source/lib/rocprofiler/tests/status.cpp +++ b/source/lib/rocprofiler/tests/status.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/timestamp.cpp b/source/lib/rocprofiler/tests/timestamp.cpp index c50f394169..75784562b5 100644 --- a/source/lib/rocprofiler/tests/timestamp.cpp +++ b/source/lib/rocprofiler/tests/timestamp.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/rocprofiler/tests/version.cpp b/source/lib/rocprofiler/tests/version.cpp index 862a937649..6650c733b7 100644 --- a/source/lib/rocprofiler/tests/version.cpp +++ b/source/lib/rocprofiler/tests/version.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/buffering/buffering-parallel.cpp b/source/lib/tests/buffering/buffering-parallel.cpp index 172a5efc3d..6e089dc20b 100644 --- a/source/lib/tests/buffering/buffering-parallel.cpp +++ b/source/lib/tests/buffering/buffering-parallel.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/buffering/buffering-save-load.cpp b/source/lib/tests/buffering/buffering-save-load.cpp index 383fd80ad9..5abdbf837d 100644 --- a/source/lib/tests/buffering/buffering-save-load.cpp +++ b/source/lib/tests/buffering/buffering-save-load.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/buffering/buffering-serial.cpp b/source/lib/tests/buffering/buffering-serial.cpp index 3d4c0be2a6..4a4635b2f9 100644 --- a/source/lib/tests/buffering/buffering-serial.cpp +++ b/source/lib/tests/buffering/buffering-serial.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/buffering/buffering.hpp b/source/lib/tests/buffering/buffering.hpp index 866be3f810..efb86ba3f8 100644 --- a/source/lib/tests/buffering/buffering.hpp +++ b/source/lib/tests/buffering/buffering.hpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/common/demangling.cpp b/source/lib/tests/common/demangling.cpp index 850c0b91b3..3f84f975d9 100644 --- a/source/lib/tests/common/demangling.cpp +++ b/source/lib/tests/common/demangling.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/common/environment.cpp b/source/lib/tests/common/environment.cpp index 66e06ccc3a..82be31f659 100644 --- a/source/lib/tests/common/environment.cpp +++ b/source/lib/tests/common/environment.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/lib/tests/common/mpl.cpp b/source/lib/tests/common/mpl.cpp index b0c0705f16..12a2f2380e 100644 --- a/source/lib/tests/common/mpl.cpp +++ b/source/lib/tests/common/mpl.cpp @@ -1,6 +1,6 @@ // MIT License // -// Copyright (c) 2023 ROCm Developer Tools +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/source/scripts/cpp-license-header.txt b/source/scripts/cpp-license-header.txt new file mode 100644 index 0000000000..104dd9585c --- /dev/null +++ b/source/scripts/cpp-license-header.txt @@ -0,0 +1,21 @@ +// MIT License +// +// Copyright (c) 2023 Advanced Micro Devices, Inc. All rights reserved. +// +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: +// +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE.