-
Notifications
You must be signed in to change notification settings - Fork 792
[SYCL] Make backend a property of a platform #9153
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
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.
Good stuff! This looks much cleaner.
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
Signed-off-by: Sergey V Maslov <sergey.v.maslov@intel.com>
@intel/llvm-gatekeepers: please merge.
|
I saw a build fail after this patch:
|
Hello, could any of you help resolve this? Thanks a lot! |
What build is failing? |
I think it's with -Werror,-Wreturn-stack-address when building check-all |
I think the build with -Werror will fail. In any case, this looks like a real bug, in the code indeed C string is returned which is going to be freed after end of scope of this function (when std::stringstream Str; is destructed). |
I know and fixing in https://github.com/intel/llvm/pull/9232/files#diff-bdd3b8fe78c5f95c7ee4d61de34a1123646835047a2d0c5f85124d02655c4ce1 Just wanted to know how to test locally. |
Thanks for fixing! |
FYI it is my second time reporting similar fails under -werror=on, last fix is #9130 |
No description provided.