| 728 | } |
| 729 | |
| 730 | void cfill_fp32(float* A, float* B, float value, long n) { |
| 731 | try { |
| 732 | auto& q = xpu_default_queue(); |
| 733 | q.fill(A, value, static_cast<size_t>(n)).wait(); |
| 734 | } catch (const sycl::exception& e) { |
| 735 | fprintf(stderr, "XPU Error in cfill_fp32: %s\n", e.what()); |
| 736 | } |
| 737 | } |
| 738 | |
| 739 | void cfill_uint8(unsigned char* A, unsigned char* B, unsigned char value, long n) { |
| 740 | // Use host-side memset instead of sycl::queue::fill<unsigned char> |
nothing calls this directly
no outgoing calls
no test coverage detected