Skip to content

Rendering toolkit openvkl code sample pr #712

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

Conversation

MichaelRoyceCarroll
Copy link
Contributor

@MichaelRoyceCarroll MichaelRoyceCarroll commented Oct 18, 2021

Adding a New Sample(s)

Description

New sample PR for oneapi rendering toolkit openvkl sample. (library # 3 of 4)
See #697

Checklist

Administrative

  • Review sample design with the appropriate Domain Expert:
  • If you have any new dependencies/binaries, inform the oneAPI Code Samples Project Manager: @JoeOster

Code Development

Security and Legal

  • OSPDT Approval (see @JoeOster for assistance)
  • Compile using the following compiler flags and fix any warnings, the falgs are: "/Wall -Wformat-security -Werror=format-security"
  • Bandit Scans (Python only)
  • Virus scan

Review

  • Review DPC++ code with Paul Peterseon. (GitHub User: pmpeter1)
  • Review readme with Tom Lenth(@tomlenth) and/or Joe Oster(@JoeOster)
  • Tested using Dev Cloud when applicable

JoeOster and others added 18 commits September 29, 2021 09:45
* Update Makefile

* Update Makefile

* Update Makefile

* Update DCT.hpp

* Update intrin_ftz_sample.cpp

* Update merge_sort.cpp

* Update intrin_double_sample.cpp

* Update intrin_dot_sample.cpp

* Update DCT.cpp
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
…ed commit)

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Moving README.md content to individual folders
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
…get stuck. It is not too big.

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
@JoeOster JoeOster linked an issue Oct 18, 2021 that may be closed by this pull request
@MichaelRoyceCarroll MichaelRoyceCarroll changed the base branch from master to development October 18, 2021 23:39
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI process only

@JoeOster
Copy link
Contributor

OSPDT Approved per OSPDT-1015 * All Apache Licensed libraries distributed as part of oneAPI have been approved
opemVKL is part of the oneAPI Rendering Toolkit

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
…e.json

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
…een removed

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI purposes only

MichaelRoyceCarroll and others added 6 commits October 26, 2021 14:32
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
…ore README.md from 2 commits prior

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

…d unblock CI!

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

@MichaelRoyceCarroll
Copy link
Contributor Author

@Yury-B Do I need to wrap the macos steps for the shell? bash -c "stepa; stepb; stepc;" kind of setup? Can you please advise? Thanks.

@Yury-B
Copy link

Yury-B commented Oct 28, 2021

@Yury-B Do I need to wrap the macos steps for the shell? bash -c "stepa; stepb; stepc;" kind of setup? Can you please advise? Thanks.

pls, see my advice in #PR710

@praveenkk123 praveenkk123 requested a review from pmpeter1 October 28, 2021 23:12
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>
@MichaelRoyceCarroll
Copy link
Contributor Author

MichaelRoyceCarroll commented Nov 1, 2021

I'm going to make OSX json runtime variable path explicit... MacOS clearing envs: ${ONEAPI_ROOT}/rkcommon/latest/lib etc.. to be added for sample.json.

@MichaelRoyceCarroll
Copy link
Contributor Author

I think the 9268c23 should unblock. The macos run.

Copy link
Contributor

@praveenkk123 praveenkk123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approve for CI

@praveenkk123 praveenkk123 merged commit b32d5cc into oneapi-src:development Nov 3, 2021
praveenkk123 pushed a commit that referenced this pull request Dec 7, 2021
* ONSAM-1414 Broken Link in Headers (#685)

* Update Makefile

* Update Makefile

* Update Makefile

* Update DCT.hpp

* Update intrin_ftz_sample.cpp

* Update merge_sort.cpp

* Update intrin_double_sample.cpp

* Update intrin_dot_sample.cpp

* Update DCT.cpp

* fix deprecation notice (#682)

* initial commit for RenderingToolkit GSG sample proposal

* signed inital commit for RenderingToolkit GSG intro samples

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Added generated GUIDS to .repo-tools/Docs_Automation/guids.json (signed commit)

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update README.md

Moving README.md content to individual folders

* Order samples folders

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update README.md

* Adding per sample component README.md files

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update README.md

* Adding percomponent LICENSE placeholder files (to be reviewed)

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Adding converted .pfm input file. This file could help users if they get stuck. It is not too big.

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Updating sample.json files per Joseph Oster guidance

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Updates to oidn README.md for linux and macos

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update README for library requirements

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* New branch for just openvkl sample

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Add description to base README.md

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* removing overlapping content. overlap to RenderingToolkit-ospray branch

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Updates for the embree README.md

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* clang-format for source

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Escape the spaces for CI and get the correct vklExamples.exe in sample.json

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Escape extra quotes for CI in sample.json

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Should be no Release folder for sample.json on macos or lin. It has been removed

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Escape for accurate exe invoke

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* openvkl README updates

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* CMakeLists.txt simplification updates

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Staging files into CI friendly directories. Should have been done before README.md from 2 commits prior

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update CMakeLists.txt for 03_openvkl_gsg... C linkage errors

* CMakeLists.txt updates for variable name consistency

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update for CMakeLists.txt... thought it was merged before. This should unblock CI!

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update sample.json

* samples.json to match embree env concerns

* CMakeLists health updates

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Remvove rkcommon header for not applicable project

Signed-off-by: Michael R Carroll <michael.carroll@alumni.usc.edu>

* Update sample.json for healthier pathing... CI affect only.

Co-authored-by: JoeOster <52936608+JoeOster@users.noreply.github.com>
Co-authored-by: ericlars <eric.larson@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Request to Add a oneAPI Sample: Initial Rendering Toolkit sample
7 participants