Searcharxiv⌕ Search

arXiv subjects

Wenqin Yang

Publications and source records attributed to Wenqin Yang.

3 recordsLinked to original sources

Scintillator-Based Event-Mode Neutron Imaging with Timepix4 Readout

Scintillator-based event-mode neutron imaging is emerging as a powerful approach to neutron radiography. Unlike conventional integrating-mode neutron imaging, which accumulates scintillation light during an exposure, event reconstruction estimates neutron-event positions and arrival times from time-stamped optical responses. We investigated this approach using a self-developed Timepix4-based optical readout system, image-formation analysis, and beam experiments at the China Spallation Neutron Source under different scintillator and optical configurations. The analysis explains how event localization can reduce image blur associated with the spatial extent of individual scintillation responses. Under the same 0.35$\times$ optical configuration, event reconstruction improved the spatial resolution from 164.2 to 91.9 $μ$m at 10% modulation transfer function (MTF), while a 2.1$\times$ configuration with a $\mathrm{Gd_2O_2S:Tb}$ scintillator achieved 26.1 $μ$m at the same MTF threshold. Following event reconstruction and rejection of single-photon reconstructed events, the mean peak-normalized spectral response in the 6-8 angstrom out-of-band interval decreased by 85.4% relative to the raw-pixel wavelength-count spectrum, indicating reduced afterglow-related spectral background. Under the tested pulsed-beam conditions, the maximum instantaneous pixel-hit rate per pixel was approximately four times its time-averaged value, providing an experimental basis for assessing readout requirements at higher neutron flux. Conventional radiography resolved structural details, while energy-selective imaging enhanced the contrast between materials with similar broadband transmission and Bragg-edge imaging revealed crystallographic features in steel. These results demonstrate the imaging-quality benefits and capabilities of scintillator-based event-mode neutron imaging.

physics.ins-det↗

MPK: A Compiler and Runtime for Mega-Kernelizing Tensor Programs

We introduce Mirage Persistent Kernel (MPK), the first compiler and runtime system that automatically transforms multi-GPU model inference into a single high-performance mega-kernel. MPK introduces an SM-level graph representation that captures data dependencies at the granularity of individual streaming multiprocessors (SMs), enabling cross-operator software pipelining, \rev{fine-grained overlap of computation and communication, and other optimizations that are infeasible under the conventional kernel-per-operator execution model}. The MPK compiler lowers tensor programs into optimized SM-level task graphs and generates fast CUDA implementations for each task, while the MPK in-kernel parallel runtime executes these tasks within a single persistent mega-kernel using decentralized scheduling across SMs. Together, these components provide end-to-end kernel fusion with minimal developer effort, while preserving the flexibility of existing programming models. Our evaluation shows that MPK significantly outperforms existing kernel-per-operator LLM serving systems, achieving up to 1.7$\times$ lower end-to-end inference latency and pushing LLM inference performance close to the limits of the underlying hardware. MPK is publicly available at https://github.com/mirage-project/mirage.

cs.DC↗

A novel energy resolved neutron imaging detector based on TPX3Cam for the CSNS

The China Spallation Neutron Source (CSNS) operates in pulsed mode and has a high neutron flux. This provides opportunities for energy resolved neutron imaging by using the TOF (Time Of Flight) approach. An Energy resolved neutron imaging instrument (ERNI) is being built at the CSNS but significant challenges for the detector persist because it simultaneously requires a spatial resolution of less than 100 μm, as well as a microsecond-scale timing resolution. This study constructs a prototype of an energy resolved neutron imaging detector based on the fast optical camera, TPX3Cam coupled with an image intensifier. To evaluate its performance, a series of proof of principle experiments were performed in the BL20 at the CSNS to measure the spatial resolution and the neutron wavelength spectrum, and perform neutron imaging with sliced wavelengths and Bragg edge imaging of the steel sample. A spatial resolution of 57 μm was obtained for neutron imaging by using the centroiding algorithm, the timing resolution was on the microsecond scale and the measured wavelength spectrum was identical to that measured by a beam monitor. In addition, any wavelengths can be selected for the neutron imaging of the given object, and the detector can be used for Bragg edge imaging. The results show that our detector has good performances and can satisfy the requirements of ERNI for detectors at the CSNS

physics.ins-det↗