Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Classification PR Changes #2

Open
wants to merge 81 commits into
base: classification_pr
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
81 commits
Select commit Hold shift + click to select a range
62c6f39
Zen DNN - Docker & Tests (#924)
kiritigowda Aug 25, 2022
fe26c58
Rocal Updates (#921)
LakshmiKumar23 Aug 25, 2022
bd7caff
Docker Update (#928)
LakshmiKumar23 Aug 26, 2022
6584d44
AMD OpenVX Custom Extension - implementation (#925)
rrawther Aug 26, 2022
3de90a3
amd_migraphx - update readme for extension (#929)
AryanSalmanpour Aug 29, 2022
1151085
amd_custom - fixes build issue (#935)
LakshmiKumar23 Aug 31, 2022
de55cae
migraphx extension - update the readme(#936)
AryanSalmanpour Sep 1, 2022
6d4a642
vx_amd_migraphx - tests (#923)
LakshmiKumar23 Sep 1, 2022
40112ef
OpenVX HIP backend - report correct number of CUs for gfx10+ in the l…
AryanSalmanpour Sep 1, 2022
b65d884
Add API to get reader config and decoder config
fiona-gladwin Sep 5, 2022
a449779
Add API to obtain max and min aspect ratio from image source evaluator
fiona-gladwin Sep 5, 2022
40b6ede
Add scaling modes support
fiona-gladwin Sep 5, 2022
63f141b
Minor change
fiona-gladwin Sep 5, 2022
952037b
Remove crop parameters and related changes for resize
fiona-gladwin Sep 5, 2022
e25ac7b
Fix segmentation fault
fiona-gladwin Aug 17, 2022
82d9a08
Fix error with resize modes
fiona-gladwin Aug 17, 2022
99eeb5a
MInor fix : update tensor ROI
fiona-gladwin Aug 22, 2022
e6ad33c
Merge branch 'develop' of https://github.com/GPUOpen-ProfessionalComp…
fiona-gladwin Sep 5, 2022
0972161
Minor fix - center crop
fiona-gladwin Sep 5, 2022
90937c1
Update the python API for resize with scaling modes and interpolation…
fiona-gladwin Sep 5, 2022
5230e66
Minor changes
fiona-gladwin Sep 5, 2022
212c3b0
Minor changes
fiona-gladwin Sep 6, 2022
d8e93bc
Merge branch 'resize_scale_modes_PR' into fg/resize_scale_modes_PR
fiona-gladwin Sep 6, 2022
bf86a2e
Minor change
fiona-gladwin Sep 6, 2022
e6679ce
Merge branch 'resize_scale_modes_PR' into fg/resize_scale_modes_PR
fiona-gladwin Sep 6, 2022
2667780
Remove center crop related changes
fiona-gladwin Sep 6, 2022
d36781c
Remove redundant max size check
fiona-gladwin Sep 7, 2022
713bd15
Remove crop param from node resize
fiona-gladwin Sep 8, 2022
b3e071d
Remove source evaluator
fiona-gladwin Sep 8, 2022
58e4981
Minor fix
fiona-gladwin Sep 13, 2022
2acd51e
Remove the get decoder and reader config API
fiona-gladwin Sep 15, 2022
12696b0
Remove aspect ratio calculations in source evaluator
fiona-gladwin Sep 15, 2022
af29c8a
Remove decoder and reader config variables
fiona-gladwin Sep 15, 2022
8e90ad1
Remove decoder and reader config variables
fiona-gladwin Sep 15, 2022
c0721ce
Merge branch 'resize_scale_modes_expt' of https://github.com/fiona-gl…
fiona-gladwin Sep 15, 2022
e6f07ea
Minor fix for max size
fiona-gladwin Sep 15, 2022
b075d1f
Code clean up
fiona-gladwin Sep 15, 2022
baaae7f
Merge branch 'resize_scale_modes_expt' into fg/resize_scale_modes_PR
fiona-gladwin Sep 15, 2022
f194c18
Minor change
fiona-gladwin Sep 15, 2022
3685ba0
Minor changes
fiona-gladwin Sep 16, 2022
7294a0c
Minor changes
fiona-gladwin Sep 16, 2022
30ceeca
Minor change
fiona-gladwin Sep 16, 2022
49f4b33
Fix python codacy warnings
fiona-gladwin Sep 16, 2022
df1dd28
Minor codacy fix
fiona-gladwin Sep 16, 2022
0b1c8c4
Revert "Minor codacy fix"
fiona-gladwin Sep 16, 2022
2e611e0
Minor change
fiona-gladwin Sep 16, 2022
9cd9345
Merge branch 'develop' of https://github.com/GPUOpen-ProfessionalComp…
fiona-gladwin Sep 19, 2022
36b4b15
Minor code changes
fiona-gladwin Sep 19, 2022
e6278ed
Remove API to get max width and height for resize node
fiona-gladwin Sep 19, 2022
e8030c5
Minor fix
fiona-gladwin Sep 21, 2022
e78e0a8
Minor changes
fiona-gladwin Sep 21, 2022
9465341
Working Image Classification Chnages
Sep 22, 2022
c5607cf
Working Image Classification USER GIVEN PARAMS
Sep 22, 2022
8c13a79
Add changes in types.py
swetha097 Sep 22, 2022
c1eec47
1. Code clean up
swetha097 Sep 23, 2022
85307c3
Code Clean Up
swetha097 Sep 23, 2022
db53bc5
Add centre_crop changes
swetha097 Sep 23, 2022
bb6ad60
ResizeTensor addition
swetha097 Sep 24, 2022
ce02195
Minor changes in PR
swetha097 Sep 26, 2022
ac65f69
ResizeTensor.cpp - Removing OpenCL backend support
Sep 26, 2022
b4acbeb
Code Clean Up
Sep 26, 2022
0a612c7
Merge branch 'develop' of https://github.com/GPUOpen-ProfessionalComp…
Oct 18, 2022
90bc9ff
Resolving internal PR comments
Oct 18, 2022
b834ab3
Resolve the internal review comments -2
Oct 20, 2022
bac136e
Reesolve build error
swetha097 Oct 20, 2022
3f5d519
migraphx - palamida scan fix (#984)
LakshmiKumar23 Oct 25, 2022
36ffcd3
Readme updates - OpenVX Trademark Updates (#989)
kiritigowda Oct 25, 2022
87afc85
Media - License Issue Fix (#990)
kiritigowda Oct 25, 2022
47419d1
License Fix - rocAL (#992)
kiritigowda Oct 26, 2022
525c99f
runVisionTest - add a new test (#979)
AryanSalmanpour Oct 28, 2022
ec83ab2
rocAL PyBind - Wheel Package Fix (#982)
swetha097 Oct 28, 2022
84455cc
amd media - device support (#983)
rrawther Oct 28, 2022
7ed51ac
docker update - rpp version update (#986)
LakshmiKumar23 Oct 28, 2022
4f5151d
rocal - README updates and directory name change (#981)
LakshmiKumar23 Oct 28, 2022
f0d3ee9
Merge branch 'develop' of https://github.com/GPUOpen-ProfessionalComp…
swetha097 Nov 4, 2022
bd85af3
Remove the is_centre_crop initilization as it is already set in
swetha097 Nov 4, 2022
1f2b730
Changed to use std::min instead of if
swetha097 Nov 4, 2022
a2cd7aa
Wrapping Long Lines of Code
swetha097 Nov 5, 2022
6d17541
Add the rng in the parameter_factory
swetha097 Nov 7, 2022
454c71f
Add the sample idx argument
swetha097 Nov 7, 2022
c7cf2dc
Use different seeds for diff rngs
swetha097 Nov 7, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ MIVisionX toolkit is a set of comprehensive computer vision and machine intellig

## Table of Contents
- [Table of Contents](#table-of-contents)
- [AMD OpenVX](#amd-openvx)
- [AMD OpenVX Extensions](#amd-openvx-extensions)
- [AMD OpenVX™](#amd-openvx)
- [AMD OpenVX™ Extensions](#amd-openvx-extensions)
- [Applications](#applications)
- [Neural Net Model Compiler & Optimizer](#neural-net-model-compiler--optimizer)
- [rocAL](#rocal)
Expand Down Expand Up @@ -51,17 +51,17 @@ MIVisionX toolkit is a set of comprehensive computer vision and machine intellig
- [Known issues](#known-issues)
- [MIVisionX Dependency Map](#mivisionx-dependency-map)

## AMD OpenVX
## AMD OpenVX™

<p align="center"><img width="30%" src="docs/images/OpenVX_logo.png" /></p>

[AMD OpenVX](amd_openvx#amd-openvx-amd_openvx) is a highly optimized conformant open source implementation of the <a href="https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html" target="_blank">Khronos OpenVX&trade; 1.3</a> computer vision specification. It allows for rapid prototyping as well as fast execution on a wide range of computer hardware, including small embedded x86 CPUs and large workstation discrete GPUs.
[AMD OpenVX&trade;](amd_openvx#amd-openvx-amd_openvx) is a highly optimized conformant open source implementation of the <a href="https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html" target="_blank">Khronos OpenVX&trade; 1.3</a> computer vision specification. It allows for rapid prototyping as well as fast execution on a wide range of computer hardware, including small embedded x86 CPUs and large workstation discrete GPUs.

<a href="https://www.khronos.org/registry/OpenVX/specs/1.0.1/html/index.html" target="_blank">Khronos OpenVX&trade; 1.0.1</a> conformant implementation is available in [MIVisionX Lite](https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/tree/openvx-1.0.1)

## AMD OpenVX Extensions
## AMD OpenVX&trade; Extensions

The OpenVX framework provides a mechanism to add new vision functionality to OpenVX by vendors. This project has below mentioned OpenVX [modules](amd_openvx_extensions#amd-openvx-extensions-amd_openvx_extensions) and utilities to extend [amd_openvx](amd_openvx#amd-openvx-amd_openvx), which contains the AMD OpenVX Core Engine.
The OpenVX framework provides a mechanism to add new vision functionality to OpenVX by vendors. This project has below mentioned OpenVX [modules](amd_openvx_extensions#amd-openvx-extensions-amd_openvx_extensions) and utilities to extend [amd_openvx](amd_openvx#amd-openvx-amd_openvx), which contains the AMD OpenVX&trade; Core Engine.

<p align="center"><img width="70%" src="docs/images/MIVisionX-OpenVX-Extensions.png" /></p>

Expand Down Expand Up @@ -463,3 +463,5 @@ Review all notable [changes](CHANGELOG.md#changelog) with the latest release
| `Level_3` | OpenCV <br> FFMPEG <br> +Level 2 | amd_openvx <br> amd_openvx_extensions <br> utilities | ![#1589F0](docs/images/blue_square.png) `libopenvx.so` - OpenVX&trade; Lib <br> ![#1589F0](docs/images/blue_square.png) `libvxu.so` - OpenVX&trade; immediate node Lib <br> ![#1589F0](docs/images/blue_square.png) `libvx_loomsl.so` - Loom 360 Stitch Lib <br> ![#1589F0](docs/images/blue_square.png) `loom_shell` - 360 Stitch App <br> ![#1589F0](docs/images/blue_square.png) `runcl` - OpenCL&trade; program debug App <br> ![#c5f015](docs/images/green_square.png) `libvx_amd_media.so` - OpenVX&trade; Media Extension <br> ![#c5f015](docs/images/green_square.png) `libvx_opencv.so` - OpenVX&trade; OpenCV InterOp Extension <br> ![#c5f015](docs/images/green_square.png) `mv_compile` - Neural Net Model Compile <br> ![#c5f015](docs/images/green_square.png) `runvx` - OpenVX&trade; Graph Executor - Display ON | [![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/kiritigowda/ubuntu-18.04/mivisionx-level-3?style=flat-square)](https://hub.docker.com/repository/docker/kiritigowda/ubuntu-18.04) |
| `Level_4` | MIOpenGEMM <br> MIOpen <br> ProtoBuf <br> +Level 3 | amd_openvx <br> amd_openvx_extensions <br> apps <br> utilities | ![#1589F0](docs/images/blue_square.png) `libopenvx.so` - OpenVX&trade; Lib <br> ![#1589F0](docs/images/blue_square.png) `libvxu.so` - OpenVX&trade; immediate node Lib <br> ![#1589F0](docs/images/blue_square.png) `libvx_loomsl.so` - Loom 360 Stitch Lib <br> ![#1589F0](docs/images/blue_square.png) `loom_shell` - 360 Stitch App <br> ![#1589F0](docs/images/blue_square.png) `libvx_amd_media.so` - OpenVX&trade; Media Extension <br> ![#1589F0](docs/images/blue_square.png) `libvx_opencv.so` - OpenVX&trade; OpenCV InterOp Extension <br> ![#1589F0](docs/images/blue_square.png) `mv_compile` - Neural Net Model Compile <br> ![#1589F0](docs/images/blue_square.png) `runcl` - OpenCL&trade; program debug App <br> ![#1589F0](docs/images/blue_square.png) `runvx` - OpenVX&trade; Graph Executor - Display ON <br> ![#c5f015](docs/images/green_square.png) `libvx_nn.so` - OpenVX&trade; Neural Net Extension <br> ![#c5f015](docs/images/green_square.png) `inference_server_app` - Cloud Inference App | [![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/kiritigowda/ubuntu-18.04/mivisionx-level-4?style=flat-square)](https://hub.docker.com/repository/docker/kiritigowda/ubuntu-18.04) |
| `Level_5` | AMD_RPP <br> rocAL deps <br> +Level 4 | amd_openvx <br> amd_openvx_extensions <br> apps <br> rocAL <br> utilities | ![#1589F0](docs/images/blue_square.png) `libopenvx.so` - OpenVX&trade; Lib <br> ![#1589F0](docs/images/blue_square.png) `libvxu.so` - OpenVX&trade; immediate node Lib <br> ![#1589F0](docs/images/blue_square.png) `libvx_loomsl.so` - Loom 360 Stitch Lib <br> ![#1589F0](docs/images/blue_square.png) `loom_shell` - 360 Stitch App <br> ![#1589F0](docs/images/blue_square.png) `libvx_amd_media.so` - OpenVX&trade; Media Extension <br> ![#1589F0](docs/images/blue_square.png) `libvx_opencv.so` - OpenVX&trade; OpenCV InterOp Extension <br> ![#1589F0](docs/images/blue_square.png) `mv_compile` - Neural Net Model Compile <br> ![#1589F0](docs/images/blue_square.png) `runcl` - OpenCL&trade; program debug App <br> ![#1589F0](docs/images/blue_square.png) `runvx` - OpenVX&trade; Graph Executor - Display ON <br> ![#1589F0](docs/images/blue_square.png) `libvx_nn.so` - OpenVX&trade; Neural Net Extension <br> ![#1589F0](docs/images/blue_square.png) `inference_server_app` - Cloud Inference App <br> ![#c5f015](docs/images/green_square.png) `libvx_rpp.so` - OpenVX&trade; RPP Extension <br> ![#c5f015](docs/images/green_square.png) `librocal.so` - Radeon Augmentation Library <br> ![#c5f015](docs/images/green_square.png) `rocal_pybind.so` - rocAL Pybind Lib | [![Docker Image Version (tag latest semver)](https://img.shields.io/docker/v/kiritigowda/ubuntu-18.04/mivisionx-level-5?style=flat-square)](https://hub.docker.com/repository/docker/kiritigowda/ubuntu-18.04) |

**NOTE:** OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
22 changes: 12 additions & 10 deletions amd_openvx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

* Applications built using the VXU library do not benefit from the optimizations enabled by graph execution. The VXU library can be the simplest way to use OpenVX and is the first step in porting existing vision applications.

# AMD OpenVX
## AMD OpenVX&trade;

* AMD OpenVX is a highly optimized conformant open-source implementation of the [Khronos OpenVX 1.3](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html) computer vision specification. It allows for rapid prototyping as well as fast execution on a wide range of computer hardware, including small embedded `AMD64` CPUs and large workstation discrete GPUs.
* AMD OpenVX&trade; is a highly optimized conformant open-source implementation of the [Khronos OpenVX 1.3](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html) computer vision specification. It allows for rapid prototyping as well as fast execution on a wide range of computer hardware, including small embedded `AMD64` CPUs and large workstation discrete GPUs.

## AMD OpenVX - Vision Feature Set Conformant Implementation
### AMD OpenVX&trade; - Vision Feature Set Conformant Implementation

The Vision Conformance Feature Set includes all the functions and objects in the `Base Feature Set`, plus the vision data objects and vision functions.

### The Base Feature Set
#### The Base Feature Set

The purpose is to define a minimal subset of OpenVX features that enable the construction and execution of OpenVX graphs, but it does not contain any specific vision-processing operations.

Expand All @@ -46,7 +46,7 @@ The purpose is to define a minimal subset of OpenVX features that enable the con

**Note:** Details about [Framework Objects](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html#sec_framework_objects)

### The Vision Conformance Feature Set
#### The Vision Conformance Feature Set

To provide a basic set of vision processing functions. This set of functions is roughly equivalent to the set of functions available in version 1.1 of the OpenVX specification. In addition to the framework objects included in the Base Feature Set, the Vision Conformance Feature Set includes a set of data objects that the Vision functions operate upon and produce.

Expand Down Expand Up @@ -136,19 +136,19 @@ To provide a basic set of vision processing functions. This set of functions is

**Note:** Details about [Functions](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html#group_vision_functions)

## AMD OpenVX - Features
### AMD OpenVX&trade; - Features

* The code is highly optimized for both x86 CPU and OpenCL/HIP for GPU
* Supported hardware spans the range from low power embedded APUs, laptops, desktops, and workstation graphics
* Supports `Windows` , `Linux` , and `macOS`
* Includes a “graph optimizer” that looks at the entire processing pipeline and removes/replaces/merges functions to improve performance and minimize bandwidth at runtime
* Scripting support with [RunVX](../utilities/runvx/README.md) allows for rapid prototyping, without re-compiling at production performance levels

**NOTE:** The amd_openvx project consists of the following components: [AMD OpenVX Library](openvx/README.md)
**NOTE:** The amd_openvx project consists of the following components: [AMD OpenVX&trade; Library](openvx/README.md)

**NOTE:** The OpenVX framework provides a mechanism to add new vision functions to OpenVX by 3rd party vendors. Look into amd_openvx_extensions for additional OpenVX modules and utilities.

### AMD OpenVX - Extensions
#### AMD OpenVX&trade; - Extensions
* **vx_loomsl**: Radeon LOOM stitching library for live 360-degree video applications
* **vx_nn**: OpenVX neural network module that was built on top of [MIOpen](https://github.com/ROCmSoftwarePlatform/MIOpen)
* **vx_opencv**: OpenVX module that implemented a mechanism to access OpenCV functionality as OpenVX kernels
Expand All @@ -165,10 +165,10 @@ To provide a basic set of vision processing functions. This set of functions is

## Build Instructions

Build this project to generate AMD OpenVX library
Build this project to generate AMD OpenVX&trade; library

* Refer to [openvx/include/VX](openvx/include/VX) for Khronos OpenVX standard header files.
* Refer to [openvx/include/vx_ext_amd.h](openvx/include/vx_ext_amd.h) for vendor extensions in AMD OpenVX library
* Refer to [openvx/include/vx_ext_amd.h](openvx/include/vx_ext_amd.h) for vendor extensions in AMD OpenVX&trade; library

### Build using `Visual Studio`

Expand All @@ -183,3 +183,5 @@ Build this project to generate AMD OpenVX library

* Install CMake 3.0 or later
* Use CMake to configure and generate Makefile

**NOTE:** OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
8 changes: 5 additions & 3 deletions amd_openvx/openvx/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# AMD OpenVX library
# AMD OpenVX&trade; library

AMD OpenVX library is a highly optimized open-source implementation of the [Khronos OpenVX 1.3](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html) computer vision specification.
AMD OpenVX&trade; library is a highly optimized open-source implementation of the [Khronos OpenVX 1.3](https://www.khronos.org/registry/OpenVX/specs/1.3/html/OpenVX_Specification_1_3.html) computer vision specification.


* Refer to [include/VX](include/VX) for Khronos OpenVX standard header files.
* Refer to [include/vx_ext_amd.h](include/vx_ext_amd.h) for vendor extensions in AMD OpenVX library.
* Refer to [include/vx_ext_amd.h](include/vx_ext_amd.h) for vendor extensions in AMD OpenVX&trade; library.

**NOTE:** OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
6 changes: 4 additions & 2 deletions amd_openvx_extensions/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# AMD OpenVX Extensions
# AMD OpenVX&trade; Extensions

The OpenVX framework provides a mechanism to add new vision functions to OpenVX by 3rd party vendors. This project has below OpenVX modules and utilities to extend [AMD OpenVX](../amd_openvx#amd-openvx-amd_openvx) (amd_openvx) project, which contains the AMD OpenVX Core Engine.
The OpenVX framework provides a mechanism to add new vision functions to OpenVX by 3rd party vendors. This project has below OpenVX modules and utilities to extend [AMD OpenVX&trade;](../amd_openvx#amd-openvx-amd_openvx) (amd_openvx) project, which contains the AMD OpenVX&trade; Core Engine.

* [amd_loomsl](amd_loomsl): AMD Radeon LOOM stitching library for live 360-degree video applications

Expand All @@ -21,3 +21,5 @@ The OpenVX framework provides a mechanism to add new vision functions to OpenVX
* [amd_winml](amd_winml#amd-winml-extension): WinML extension will allow developers to import a pre-trained ONNX model into an OpenVX graph and add hundreds of different pre & post processing `vision` / `generic` / `user-defined` functions, available in OpenVX and OpenCV interop, to the input and output of the neural net model. This will allow developers to build an end to end application for inference.

<p align="center"><img width="80%" src="../docs/images/winmlFrameWorks.png" /></p>

**NOTE:** OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
4 changes: 3 additions & 1 deletion amd_openvx_extensions/amd_custom/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ It is built with MIVisionX package.

### Pre-requisites

* AMD OpenVX library
* AMD OpenVX&trade; library
* ROCM installed system with AMD GPU
* [ROCm](https://rocmdocs.amd.com/en/latest/)

Expand Down Expand Up @@ -63,3 +63,5 @@ write output out_tensor_1.bin
```
* To run the gdf using runvx use the command "runvx -affinity:GPU example.gdf"
* After running the gdf using the runvx utility, you can see the out_tensor_1.bin will have the same data as input tensor

**NOTE:** OpenVX and the OpenVX logo are trademarks of the Khronos Group Inc.
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
/*
Copyright (c) 2017 - 2022 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.
*/

#define _CRT_SECURE_NO_WARNINGS
#include "kernels.h"
#include "lens_distortion_remap.h"
Expand Down
22 changes: 22 additions & 0 deletions amd_openvx_extensions/amd_loomsl/profiler.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
/*
Copyright (c) 2017 - 2022 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.
*/

#define _CRT_SECURE_NO_WARNINGS
#define _CRT_SECURE_NO_DEPRECATE
#include "profiler.h"
Expand Down
22 changes: 22 additions & 0 deletions amd_openvx_extensions/amd_loomsl/profiler.h
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
/*
Copyright (c) 2017 - 2022 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.
*/

#ifndef __profiler_h__
#define __profiler_h__

Expand Down
Loading