Skip to content

Conversation

Kevinpoleary
Copy link
Contributor

Description

I followed the instructions to copy from gitlab

  • [ x] Sample Migration (Moving sample from old repository after completing checklist established)

kevin.p.oleary added 2 commits August 21, 2020 07:38
Signed-off-by: kevin.p.oleary <[email protected]>
Signed-off-by: kevin.p.oleary <[email protected]>
@anjgola anjgola requested review from a team, praveenkk123, sravanikonda, akertesz and JoeOster and removed request for a team August 21, 2020 17:42
anjgola
anjgola previously approved these changes Aug 21, 2020
Copy link
Contributor

@anjgola anjgola left a comment

Choose a reason for hiding this comment

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

Trigger CI

// =============================================================

#include <malloc.h>
#include <chrono>
Copy link
Contributor

Choose a reason for hiding this comment

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

chrono should not be used, please use /common/dpc_common.hpp for timing

When you do this, please include the following in the readme
// dpc_common.hpp can be found in the dev-utilities include folder.
// e.g., $ONEAPI_ROOT/dev-utilities//include/dpc_common.hpp
#include "dpc_common.hpp"

as seen in https://github.com/oneapi-src/oneAPI-samples/blob/master/DirectProgramming/DPC%2B%2B/CombinationalLogic/mandelbrot/src/main.cpp

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed

praveenkk123
praveenkk123 previously approved these changes Aug 21, 2020
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.

Trigger CI

@Kevinpoleary
Copy link
Contributor Author

I believed I have resolved all of the issues from this pull requet

#include <malloc.h>
#include <iostream>

#include "dpc_common.hpp"
Copy link
Contributor

Choose a reason for hiding this comment

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

Please add the comments below for for the include of dpc_common.hp. it should look like this:

// dpc_common.hpp can be found in the dev-utilities include folder.
// e.g., $ONEAPI_ROOT/dev-utilities//include/dpc_common.hpp
#include "dpc_common.hpp"

as seen in https://github.com/oneapi-src/oneAPI-samples/blob/master/DirectProgramming/DPC%2B%2B/CombinationalLogic/mandelbrot/src/main.cpp

## License
This code sample is licensed under MIT license

## How to Build
Copy link
Contributor

@JoeOster JoeOster Aug 23, 2020

Choose a reason for hiding this comment

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

Please add a comment to Readme in regards to the location of dpc_common.hpp, should look similar to this:

Building the Program for CPU and GPU
Include Files
The include folder is located at %ONEAPI_ROOT%\dev-utilities\latest\include on your development system.

as seen in https://github.com/oneapi-src/oneAPI-samples/tree/master/DirectProgramming/DPC%2B%2B/CombinationalLogic/sepia-filter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed


## Running the Sample

### Example of Output
Copy link
Contributor

Choose a reason for hiding this comment

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

When you view this file, the out put for the "example of output" is incorrectly formatted"

@Kevinpoleary
Copy link
Contributor Author

Joe... I believe I resolved all of your comments

mkitez
mkitez previously approved these changes Aug 24, 2020
Copy link
Contributor

@mkitez mkitez left a comment

Choose a reason for hiding this comment

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

Triggering CI.

Copy link
Contributor

@JoeOster JoeOster left a comment

Choose a reason for hiding this comment

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

triggering ci

@JoeOster JoeOster merged commit 36ff9f9 into oneapi-src:master Aug 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants