-
Notifications
You must be signed in to change notification settings - Fork 738
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
[SYCL][Matrix tests] Missing general double type case in initialization and ref compute #12800
Conversation
…on and ref compute
(std::is_same_v<Ta, double> && | ||
std::is_same_v<Tc, double>)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit:
(std::is_same_v<Ta, double> && | |
std::is_same_v<Tc, double>)) | |
std::is_same_v<Ta, double> && | |
std::is_same_v<Tc, double>) |
@@ -127,7 +129,8 @@ void matrix_rand(unsigned int rows, unsigned int cols, T *src, T val) { | |||
|
|||
for (unsigned int i = 0; i < rows; i++) { | |||
for (unsigned int j = 0; j < cols; j++) { | |||
if constexpr (std::is_same_v<T, bfloat16> || std::is_same_v<T, float>) { | |||
if constexpr (std::is_same_v<T, bfloat16> || std::is_same_v<T, float> || | |||
std::is_same_v<T, double>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: do we want to use std::uniform_real_distribution<double>
for double type?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Couple comments - feel free to address or not.
@intel/llvm-gatekeepers, can you please help merge? |
No description provided.