From dbfd285aaefd09988e3607e2146cd9e64f2113ba Mon Sep 17 00:00:00 2001 From: Maneesh Gupta Date: Sat, 15 Oct 2016 23:05:04 +0530 Subject: [PATCH] samples: Updated copyright header Change-Id: I821f514ced5e34d492cb167b65d7273e26ed7b84 [ROCm/clr commit: 945a09c2411dc63cb5b414e24490aeb34dad9c8c] --- .../0_Intro/bit_extract/bit_extract.cpp | 1 + .../hcc_dialects/vadd_amp_arrayview.cpp | 22 +++++++++++++++++++ .../0_Intro/hcc_dialects/vadd_hc_am.cpp | 22 +++++++++++++++++++ .../0_Intro/hcc_dialects/vadd_hc_array.cpp | 22 +++++++++++++++++++ .../0_Intro/hcc_dialects/vadd_hc_array.hc | 22 +++++++++++++++++++ .../hcc_dialects/vadd_hc_arrayview.cpp | 22 +++++++++++++++++++ .../samples/0_Intro/hcc_dialects/vadd_hip.cpp | 22 +++++++++++++++++++ .../samples/0_Intro/module_api/runKernel.cpp | 15 ++++++++----- .../0_Intro/module_api/vcpy_kernel.cpp | 3 +++ .../hipamd/samples/0_Intro/square/square.cu | 1 + .../samples/0_Intro/square/square.hipref.cpp | 1 + .../hipDispatchLatency/hipDispatchLatency.cpp | 3 +++ .../samples/1_Utils/hipInfo/hipInfo.cpp | 1 + .../0_MatrixTranspose/MatrixTranspose.cpp | 1 + .../2_Cookbook/1_hipEvent/hipEvent.cpp | 1 + .../2_HIP_ATP_MARKER/MatrixTranspose.cpp | 1 + .../3_shared_memory/sharedMemory.cpp | 1 + .../hipamd/samples/2_Cookbook/4_shfl/shfl.cpp | 1 + .../samples/2_Cookbook/5_2dshfl/2dshfl.cpp | 1 + 19 files changed, 157 insertions(+), 6 deletions(-) diff --git a/projects/clr/hipamd/samples/0_Intro/bit_extract/bit_extract.cpp b/projects/clr/hipamd/samples/0_Intro/bit_extract/bit_extract.cpp index 06ca349960..1535d2bd98 100644 --- a/projects/clr/hipamd/samples/0_Intro/bit_extract/bit_extract.cpp +++ b/projects/clr/hipamd/samples/0_Intro/bit_extract/bit_extract.cpp @@ -19,6 +19,7 @@ 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 "hip/hip_runtime.h" diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_amp_arrayview.cpp b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_amp_arrayview.cpp index 485b64f68d..a3162bccb9 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_amp_arrayview.cpp +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_amp_arrayview.cpp @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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. +*/ + // Simple test showing how to use C++AMP syntax with array_view. // The code uses AMP's array_view class, which provides automatic data synchronization // of data between the host and the accelerator. As noted below, the HCC runtime diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_am.cpp b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_am.cpp index 53a137f74c..c83051da29 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_am.cpp +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_am.cpp @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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. +*/ + // Simple test showing how to use HC syntax with AM (accelerator memory). // AM provides a set of c-style memory management routines for allocating, // freeing, and copying memory. am_alloc returns a device pointer diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.cpp b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.cpp index bda3adf376..b076b926e1 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.cpp +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.cpp @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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. +*/ + // Simple test showing how to use HC syntax with array. // Array provides a type-safe C++ mechanism to allocate accelerator memory. // Like array_view, hc::array provides multi-dimensional indexing capability, diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.hc b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.hc index d57b9a7e14..9ed016c7ad 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.hc +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_array.hc @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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 int main(int argc, char *argv[]) diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_arrayview.cpp b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_arrayview.cpp index 2585f47001..15f5de4abb 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_arrayview.cpp +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hc_arrayview.cpp @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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. +*/ + // Simple test showing how to use HC syntax with array_view. // The code uses AMP's array_view class, which provides automatic data synchronization // of data between the host and the accelerator. As noted below, the HCC runtime diff --git a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hip.cpp b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hip.cpp index c8f425ff90..f2afa378e0 100644 --- a/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hip.cpp +++ b/projects/clr/hipamd/samples/0_Intro/hcc_dialects/vadd_hip.cpp @@ -1,3 +1,25 @@ +/* +Copyright (c) 2015-2016 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 "hip/hip_runtime.h" __global__ void vadd_hip(hipLaunchParm lp, const float *a, const float *b, float *c, int N) diff --git a/projects/clr/hipamd/samples/0_Intro/module_api/runKernel.cpp b/projects/clr/hipamd/samples/0_Intro/module_api/runKernel.cpp index 90b081e09c..b91507aaa4 100644 --- a/projects/clr/hipamd/samples/0_Intro/module_api/runKernel.cpp +++ b/projects/clr/hipamd/samples/0_Intro/module_api/runKernel.cpp @@ -1,19 +1,22 @@ /* Copyright (c) 2015-2016 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 WARRANNTY OF ANY KIND, EXPRESS OR -IMPLIED, INNCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANNY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER INN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR INN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + +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. */ diff --git a/projects/clr/hipamd/samples/0_Intro/module_api/vcpy_kernel.cpp b/projects/clr/hipamd/samples/0_Intro/module_api/vcpy_kernel.cpp index 0418cb4b04..0375eee342 100644 --- a/projects/clr/hipamd/samples/0_Intro/module_api/vcpy_kernel.cpp +++ b/projects/clr/hipamd/samples/0_Intro/module_api/vcpy_kernel.cpp @@ -1,13 +1,16 @@ /* Copyright (c) 2015-2016 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 diff --git a/projects/clr/hipamd/samples/0_Intro/square/square.cu b/projects/clr/hipamd/samples/0_Intro/square/square.cu index 5f6260df73..82b31db14a 100644 --- a/projects/clr/hipamd/samples/0_Intro/square/square.cu +++ b/projects/clr/hipamd/samples/0_Intro/square/square.cu @@ -19,6 +19,7 @@ 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/projects/clr/hipamd/samples/0_Intro/square/square.hipref.cpp b/projects/clr/hipamd/samples/0_Intro/square/square.hipref.cpp index 2955c6ee3b..3c863b8b76 100644 --- a/projects/clr/hipamd/samples/0_Intro/square/square.hipref.cpp +++ b/projects/clr/hipamd/samples/0_Intro/square/square.hipref.cpp @@ -19,6 +19,7 @@ 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 "hip/hip_runtime.h" diff --git a/projects/clr/hipamd/samples/1_Utils/hipDispatchLatency/hipDispatchLatency.cpp b/projects/clr/hipamd/samples/1_Utils/hipDispatchLatency/hipDispatchLatency.cpp index e686c07683..b343386b5c 100644 --- a/projects/clr/hipamd/samples/1_Utils/hipDispatchLatency/hipDispatchLatency.cpp +++ b/projects/clr/hipamd/samples/1_Utils/hipDispatchLatency/hipDispatchLatency.cpp @@ -1,13 +1,16 @@ /* Copyright (c) 2015-2016 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 diff --git a/projects/clr/hipamd/samples/1_Utils/hipInfo/hipInfo.cpp b/projects/clr/hipamd/samples/1_Utils/hipInfo/hipInfo.cpp index 46741a9c91..0403162bd1 100644 --- a/projects/clr/hipamd/samples/1_Utils/hipInfo/hipInfo.cpp +++ b/projects/clr/hipamd/samples/1_Utils/hipInfo/hipInfo.cpp @@ -19,6 +19,7 @@ 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 "hip/hip_runtime.h" diff --git a/projects/clr/hipamd/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp b/projects/clr/hipamd/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp index 42445374b0..91733c025a 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/0_MatrixTranspose/MatrixTranspose.cpp @@ -19,6 +19,7 @@ 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 // hip header file diff --git a/projects/clr/hipamd/samples/2_Cookbook/1_hipEvent/hipEvent.cpp b/projects/clr/hipamd/samples/2_Cookbook/1_hipEvent/hipEvent.cpp index 76688a7b05..1abe1180da 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/1_hipEvent/hipEvent.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/1_hipEvent/hipEvent.cpp @@ -19,6 +19,7 @@ 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 // hip header file diff --git a/projects/clr/hipamd/samples/2_Cookbook/2_HIP_ATP_MARKER/MatrixTranspose.cpp b/projects/clr/hipamd/samples/2_Cookbook/2_HIP_ATP_MARKER/MatrixTranspose.cpp index 76688a7b05..1abe1180da 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/2_HIP_ATP_MARKER/MatrixTranspose.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/2_HIP_ATP_MARKER/MatrixTranspose.cpp @@ -19,6 +19,7 @@ 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 // hip header file diff --git a/projects/clr/hipamd/samples/2_Cookbook/3_shared_memory/sharedMemory.cpp b/projects/clr/hipamd/samples/2_Cookbook/3_shared_memory/sharedMemory.cpp index 433fada9d2..9950b8d020 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/3_shared_memory/sharedMemory.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/3_shared_memory/sharedMemory.cpp @@ -19,6 +19,7 @@ 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 // hip header file diff --git a/projects/clr/hipamd/samples/2_Cookbook/4_shfl/shfl.cpp b/projects/clr/hipamd/samples/2_Cookbook/4_shfl/shfl.cpp index 2819b1f042..07d5cd42d2 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/4_shfl/shfl.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/4_shfl/shfl.cpp @@ -19,6 +19,7 @@ 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 // hip header file diff --git a/projects/clr/hipamd/samples/2_Cookbook/5_2dshfl/2dshfl.cpp b/projects/clr/hipamd/samples/2_Cookbook/5_2dshfl/2dshfl.cpp index 783879b054..16e5c74892 100644 --- a/projects/clr/hipamd/samples/2_Cookbook/5_2dshfl/2dshfl.cpp +++ b/projects/clr/hipamd/samples/2_Cookbook/5_2dshfl/2dshfl.cpp @@ -19,6 +19,7 @@ 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 // hip header file