Skip to content

Initial commit of Complex multiplication sample. Modified sample.Json to include citests and guid, updated readme and latest code sample#10

Merged
anjgola merged 5 commits intooneapi-src:masterfrom
praveenkk123:master
Jul 9, 2020
Merged

Initial commit of Complex multiplication sample. Modified sample.Json to include citests and guid, updated readme and latest code sample#10
anjgola merged 5 commits intooneapi-src:masterfrom
praveenkk123:master

Conversation

@praveenkk123
Copy link
Copy Markdown
Contributor

Initial commit of Complex multiplication sample. Modified sample.Json to include citests and guid, updated readme and latest code sample

@praveenkk123 praveenkk123 marked this pull request as draft July 3, 2020 00:16
@praveenkk123 praveenkk123 marked this pull request as ready for review July 3, 2020 00:16
@praveenkk123 praveenkk123 marked this pull request as draft July 3, 2020 00:17
@praveenkk123 praveenkk123 marked this pull request as ready for review July 3, 2020 00:17
@mkitez mkitez self-requested a review July 3, 2020 07:48
mkitez
mkitez previously approved these changes Jul 3, 2020
@anjgola anjgola requested review from anjgola and pmpeter1 July 6, 2020 21:26
Copy link
Copy Markdown

@pmpeter1 pmpeter1 left a comment

Choose a reason for hiding this comment

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

Class naming not consistent: custom_device_selector

It's not good to use the same variable name in a sample for different datatypes.
h.parallel_for(R, [=](id<1> i) {

This might be better as id<1> idx

The dpc_common.hpp source should not be in the directory and should be included from the common location.

It might be better to adopt the output style used by vector-add to show a subset of the inputs and the output they create from the operation like:
[0] (3+4i) * (2+3i) = (-6 + 15i)

asukhobo
asukhobo previously approved these changes Jul 7, 2020
@@ -0,0 +1,8 @@
Copyright 2019 Intel Corporation
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should be 2020 year, or without year at all. It is new file to this repo, so it better to have up-to-date copyrights

@@ -0,0 +1,42 @@
//==============================================================
// Copyright � 2019 Intel Corporation
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Should be 2020 year, or without year at all. It is new file to this repo, so it better to have up-to-date copyrights

…er, changed the variable of custom_device_selector, updated year in the license file and changed the output format similar to vector-add
@praveenkk123 praveenkk123 dismissed stale reviews from asukhobo and mkitez via b4dea58 July 7, 2020 21:17
anjgola
anjgola previously approved these changes Jul 7, 2020
Copy link
Copy Markdown
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.

Triggering CI

@anjgola
Copy link
Copy Markdown
Contributor

anjgola commented Jul 8, 2020

@mkitez Okay to merge this?

Copy link
Copy Markdown
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.

CI passed, looks good to merge

@anjgola anjgola merged commit 281d502 into oneapi-src:master Jul 9, 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.

5 participants