We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The following code hangs even on HOST device:
#include <CL/sycl.hpp> #include <iostream> #include <cstring> #include <vector> int main() { cl::sycl::queue Q; float FData = -1; std::cout << "FData: " << FData << std::endl; cl::sycl::buffer<float> Buf(&FData, cl::sycl::range<1>(1)); Q.submit([&](cl::sycl::handler &CGH) { cl::sycl::stream S(1024, 100, CGH); auto Acc = Buf.template get_access<cl::sycl::access::mode::read>(CGH); CGH.single_task<class K>([=]() { float F = Acc[0]; S << "F / 0 = " << (F / 0.0) << cl::sycl::endl; }); }); Q.wait(); return 0; }
If I understand correctly, F / 0.0 produces NaN and everything hangs somewhere around https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/detail/stream_impl.hpp#L164
F / 0.0
NaN
The text was updated successfully, but these errors were encountered:
Fix is merged #522
Sorry, something went wrong.
[pISA][Translator] Refactor function signature for pISA printing
2d63681
This is a refactor of intel#500 to populate function signature printing without chaning IR.
againull
No branches or pull requests
The following code hangs even on HOST device:
If I understand correctly,
F / 0.0
producesNaN
and everything hangs somewhere around https://github.com/intel/llvm/blob/sycl/sycl/include/CL/sycl/detail/stream_impl.hpp#L164The text was updated successfully, but these errors were encountered: