Skip to content

Commit 3337e94

Browse files
Add stb to common (oneapi-src#37)
* Update simple add sample Signed-off-by: Maria, Moushumi <[email protected]> * Update make files Signed-off-by: Maria, Moushumi <[email protected]> * Update fpga make file Signed-off-by: Maria, Moushumi <[email protected]> * Add dpc_common.hpp * Update sample.json * Fix Makefile.win * Update Makefile.win * Update sample.json * Remove dpc_common.hpp * Update VS project file * Update README.md * Update sample.json * Add stb * Update read me file
1 parent 1ea9201 commit 3337e94

File tree

5 files changed

+23822
-1
lines changed

5 files changed

+23822
-1
lines changed

common/readme.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
12
# oneAPI-samples/Common/
23

4+
35
## `dpc_common.hpp`
46

5-
oneAPI code samples share a common include file. This include file, `dpc_common.hpp`, is installed locally with the product installation and can be located at `%ONEAPI_ROOT%\dev-utilities\latest\include` on your development system. The same `dpc_common.hpp` include file is provided here for your reference.
7+
Many oneAPI code samples share common include files. These include files are installed locally with the product installation and can be located at `%ONEAPI_ROOT%\dev-utilities\latest\include` on your development system. These same include files are provided here for your reference.
8+
9+
| Common files/directory | Description
10+
|:--- |:---
11+
| dpc_common.hpp | Common macros and functions for oneAPI samples
12+
| STB | Image rendering library

common/stb/LICENSE.txt

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
This software is available under 2 licenses -- choose whichever you prefer.
2+
------------------------------------------------------------------------------
3+
ALTERNATIVE A - MIT License
4+
Copyright (c) 2017 Sean Barrett
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9+
of the Software, and to permit persons to whom the Software is furnished to do
10+
so, subject to the following conditions:
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19+
SOFTWARE.
20+
------------------------------------------------------------------------------
21+
ALTERNATIVE B - Public Domain (www.unlicense.org)
22+
This is free and unencumbered software released into the public domain.
23+
Anyone is free to copy, modify, publish, use, compile, sell, or distribute this
24+
software, either in source code form or as a compiled binary, for any purpose,
25+
commercial or non-commercial, and by any means.
26+
In jurisdictions that recognize copyright laws, the author or authors of this
27+
software dedicate any and all copyright interest in the software to the public
28+
domain. We make this dedication for the benefit of the public at large and to
29+
the detriment of our heirs and successors. We intend this dedication to be an
30+
overt act of relinquishment in perpetuity of all present and future rights to
31+
this software under copyright law.
32+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
33+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
34+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
35+
AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
36+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
37+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)