Engineering Papers⌕ Search

SEARCH · Engineering Papers

Results for “leverage points”

Search indexed NASA NTRS and DOE OSTI research on propulsion, heat transfer, battery materials and energy systems. Follow report and document links to the original sources.

Quote a phrase for an exact phrase match. Source license links do not imply unrestricted reuse.

At least 343 records · Page 19

Dendritic Computing with Multigate Ferroelectric Field-Effect Transistors

Although inspired by neuronal systems in the brain, artificial neural networks generally employ point-neurons, which offer computational complexity far less than that of their biological counterparts. Neurons have dendritic arbors that connect to different sets of synapses and offer local nonlinear accumulation – playing a pivotal role in processing and learning. Inspired by this, we propose a novel neuron design based on a multigate ferroelectric field-effect transistor that mimics dendrites. It leverages ferroelectric nonlinearity for local computations within dendritic branches while utilizing the transistor action to generate the neuronal output. The branched architecture enables smaller crossbar arrays in hardware integration, improving efficiency. Using an experimentally calibrated device-circuit-algorithm cosimulation framework, we demonstrate that networks incorporating our dendritic neurons achieve superior performance compared to much larger networks without dendrites (∼ 17× fewer trainable weight parameters). These findings suggest that dendritic hardware can significantly improve computational efficiency and learning capacity of neuromorphic systems optimized for edge applications.

36 MATERIALS SCIENCE↗

Measuring differential particle correlations in relativistic nuclear collisions

This study explores the transverse momentum ( p T ) dependencies of symmetric and asymmetric correlations (SC and ASC) with one and two particles of interest in Au + Au collisions at 200 GeV. Leveraging a multiphase transport (AMPT) model, the investigation delves into the sensitivity of these correlations to the final state effects, providing valuable insights into their potential for constraining the final state effects' p T dependencies. The HIJING model is employed as a benchmark for nonflow correlations, shedding light on their impact on interpreting SC and ASC data. Moreover, the study points out that differential SC and ASC with one and two particles of interest (POIs) typically incorporate contributions from event-plane angle fluctuations. Consequently, this work highlights the significance of SC and ASC with one and two POIs as valuable tools for investigating the p T nature of the final state effects and advocates for comprehensive experimental measurements across various beam energies and system sizes to enhance understanding and provide additional constraints for theoretical models. Published by the American Physical Society 2024

Physics↗

Implementing Directive-Based Deferred Execution for Effective Network Aggregation

Remote direct memory access technology provides an efficient mechanism for one-sided communication that can be leveraged to implement a distributed shared memory programming model. However, when applications generate large numbers of small, irregular messages, network congestion often arises. Existing solutions address this small message problem by facilitating message aggregation but typically require disruptive code transformations that detract from the algorithmic intent of applications, or can be limited by dependent operations on aggregated data between synchronisation points. A solution is to use a directive-assisted approach that enables compilers to transform code dependent on aggregated communication for deferred execution. This paper presents an algorithm that a compiler can use to implement and optimise deferred execution for code dependent on aggregated data, based on an "aggregation context" extension for the OpenSHMEM partitioned global address space library. This new capability addresses a key challenge of message aggregation, allowing its full potential to reduce network congestion and enhance programmability to be realised.

Welch, Aaron [ORNL]↗

Dataset for "FLEXPART-WRF simulations to assess dust transport in the convective boundary layer at the Southern Great Plains site"

Soil dusts are an important source of aerosol in agricultural regions and can affect the Earth’s radiation budget through the modification of cloud properties, and in particular, through their ability to act as ice nucleating particles. In order to impact cloud properties, agricultural soil dusts need to be transported from the point of emission to cloud-relevant altitudes. Vertical transport within the planetary boundary layer is strongly controlled by turbulence and is challenging to represent accurately in regional and global models. Large-eddy simulations (LES) are run at resolutions capable of resolving most of the turbulent energy directly and can thus better simulate vertical transport. In this study, we leverage the LES ARM Symbiotic Simulation and Observation (LASSO) large-eddy simulations to simulate vertical transport of agricultural dust within the turbulent boundary layer using a modified version of the stochastic dispersion model FLEXPART-WRF. We find that the modified model is better capable of simulating particle transport due to turbulence, and that particle size was the greatest factor in determining particle lifetime. Individual meteorology and particle density had intermediate effects upon particle transport, while release height had little effect upon simulation results. Finally, we utilize a quasi-single column model (QSCM) approach to determine how our results compare to a parameterized treatment of turbulence. The QSCM simulations led to greater tracer transport out of the boundary layer, with ramifications for any studies utilizing a Lagrangian stochastic model to understand tracer dispersion. These results highlight the importance of accurately simulating turbulence for understanding particle transport.

54 ENVIRONMENTAL SCIENCES↗

Rendezvous algorithms for large-scale modeling and simulation

Rendezvous algorithms encode a communication pattern that is useful when processors sending data do not know who the receiving processors should be, or vice versa. The idea is to define an intermediate decomposition where datums from different sending processors can ”rendezvous” to perform a computation, in a manner that both the senders and eventual receivers of the results can identify the appropriate rendezvous processor. Though they were originally designed for interpolating between overlaid grids with independent parallel decompositions (Plimpton et al., 2004), we have recently found rendezvous algorithms useful for a variety of operations in particle- or grid-based simulation codes when running large problems on large numbers of processors. In particular, we show they can perform well when a load-balanced intermediate decomposition is randomized and not spatial, requiring all-to-all communication to move data between processors. In this case rendezvous algorithms leverage the large bisection communication bandwidths which parallel machines provide. We describe how rendezvous algorithms work in a scientific computing context and give specific examples for molecular dynamics and Direct Simulation Monte Carlo codes which result in dramatic performance improvements versus simpler algorithms which do not scale as well. We explain how a generic rendezvous algorithm can be implemented, and also point out similarities with the MapReduce paradigm popularized by Google and Hadoop.

97 MATHEMATICS AND COMPUTING↗

Designing a High Performance OpenSHMEM Implementation using Universal Common Communication Substrate as a Communication Middleware

OpenSHMEM is an effort to standardize the well-known SHMEM parallel programming library. The project aims to produce an open-source and portable SHMEM API and is led by ORNL and UH. In this paper, we optimize the current OpenSHMEM reference implementa- tion, based on GASNet, to achieve higher performance characteristics. To achieve these desired performance characteristics, we have redesigned an important component of the OpenSHMEM implementation, the network layer, to leverage a low-level communication library designed for imple- menting parallel programming models called UCCS. In particular, UCCS provides an interface and semantics such as native atomic operations and remote memory operations to better support PGAS programming models, including OpenSHMEM. Through the use of microbenchmarks, we evaluate this new OpenSHMEM implementation on various network metrics, including the latency of point-to-point and collective operations. Furthermore, we compare the performance of our OpenSHMEM imple- mentation with the state-of-the-art SGI SHMEM. Our results show that the atomic operations of our OpenSHMEM implementation outperform SGI s SHMEM implementation by 3%. Its RMA operations outperform both SGI s SHMEM and the original OpenSHMEM reference implemen- tation by as much as 18% and 12% for gets, and as much as 83% and 53% for puts.

Welch, Donald A↗

Accelerating discoveries at DIII-D with the Integrated Research Infrastructure

DIII-D research is being accelerated by leveraging high performance computing (HPC) and data resources available through the National Energy Research Scientific Computing Center (NERSC) Superfacility initiative. As part of this initiative, a high-resolution, fully automated, whole discharge kinetic equilibrium reconstruction workflow was developed that runs at the NERSC for most DIII-D shots in under 20 min. This has eliminated a long-standing research barrier and opened the door to more sophisticated analyses, including plasma transport and stability. These capabilities would benefit from being automated and executed within the larger Department of Energy Advanced Scientific Computing Research program’s Integrated Research Infrastructure (IRI) framework. The goal of IRI is to empower researchers to meld DOE’s world-class research tools, infrastructure, and user facilities seamlessly and securely in novel ways to radically accelerate discovery and innovation. For transport, we are looking at producing flux matched profiles and also using particle tracing to predict fast ion heat deposition from neutral beam injection before a shot takes place. Our starting point for evaluating plasma stability focuses on the pedestal limits that must be navigated to achieve better confinement. This information is meant to help operators run more effective experiments, so it needs to be available rapidly inside the DIII-D control room. So far this has been achieved by ensuring the data is available with existing tools, but as more novel results are produced new visualization tools must be developed. In addition, all of the high-quality data we have generated has been collected into databases that can unlock even deeper insights. This has already been leveraged for model and code validation studies as well as for developing AI/ML surrogates. The workflows developed for this project are intended to serve as prototypes that can be replicated on other experiments and can be run to provide timely and essential information for ITER, as well as next stage fusion power plants.

70 PLASMA PHYSICS AND FUSION TECHNOLOGY↗

E85 Optimized Engine through Boosting, Spray-Optimized DIG, VCR and Variable Valvetrain

The use of biofuels for internal combustion engines has several well published advantages. The biofuels, made from biological sources such as corn or sugar cane, are renewable resources that reduce the dependence on fossil fuels. Fuels from agricultural sources can therefore reduce a countries energy dependency on other nations. Biofuels also have been shown to reduce CO2 emissions into the atmosphere compared to traditional fossil based fuels. Because of these benefits several countries have set targets for the use of biofuels, especially ethanol, in their transportation fuels. Small percentages of ethanol are common place in gasoline but are typically limited to 5 to 8% by volume. Greater benefits are possible from higher concentrations and some countries such as the US and Sweden have encouraged the production of vehicles capable of operating on E85 (85% denatured ethanol and 15% gasoline). E85 capable vehicles are normally equipped to run the higher levels of ethanol by employing modified fuel delivery systems that can withstand the highly corrosive nature of the alcohol. These vehicles are not however equipped to take full advantage of ethanol's properties during the combustion process. Ethanol has a much higher blend research octane number than gasoline. This allows the use of higher engine compression ratios and spark advance which result in more efficient engine operation. Ethanol's latent heat of vaporization is also much higher that gasoline. This higher heat of vaporization cools the engine intake charge which also allows the engine compression ratio to be increased even further. An engine that is optimized for operation on high concentrations of ethanol therefore will have compression ratios that are too high to avoid spark knock (pre-ignition) if run on gasoline or a gasoline/ethanol blend that has a low percentage alcohol. An engine was developed during this project to leverage the improved evaporative cooling and high octane of E85 to improve fuel economy and offset E85's lower energy content. A 2.0 L production Direct Injection gasoline, (DIg) engine employing Dual Independent Cam Phasing, (DICP) and turbo charging was used as the base engine. Modified pistons were used to increase the geometric compression ratio from 9.2:1 to 11.85:1 by modifying the pistons and adding advanced valvetrain to proved control of displacement and effective compression ratio through valve timing control. The advanced valvetrain utilized Delphi's two step valvetrain hardware and intake cam phaser with increased phasing authority of 80 crank angle degrees. Using this hardware the engine was capable of operating knock free on all fuels tested from E0-E85 by controlling effective compression ratio using a Late Intake Valve Closing, (LIVC) strategy. The LIVC strategy results in changes in the trapped displacement such that knock limited torque for gasoline is significantly lower than E85. The use of spark retard to control knock enables higher peak torque for knock limited fuels, however a loss in efficiency results. For gasoline and E10 fuels, full effective displacement could not be reached before spark retard produced a net loss in torque. The use of an Early Intake Valve Closing, (EIVC) strategy resulted in an improvement of engine efficiency at low to mid loads for all fuels tested from E0- E85. Further the use of valve deactivation, to a single intake valve, improved combustion stability and enabled throttle-less operation down to less than 2 bar BMEP. Slight throttling to trap internal residual provided additional reductions in fuel consumption. To fully leverage the benefits of E85, or ethanol blends above E10, would require a vehicle level approach that would take advantage of the improved low end torque that is possible with E85. Operating the engine at reduced speeds and using advanced transmissions (6 speeds or higher) would provide a responsive efficient driving experience to the customer. The vehicle shift and torque converter lockup points for high ethanol blends could take advantage of the significant efficiency advantage of down-speeding and operating at higher loads to deliver the required power.

02 PETROLEUM↗

Developing a media formulation to sustain ex vivo chloroplast function

Chloroplasts are critical organelles in plants and algae responsible for accumulating biomass through photosynthetic carbon fixation and cellular maintenance through metabolism in the cell. Chloroplasts are increasingly appreciated for their role in biomanufacturing, as they can produce many useful molecules, and a deeper understanding of chloroplast regulation and function would provide more insight for the biotechnological applications of these organelles. However, traditional genetic approaches to manipulate chloroplasts are slow, and generation of transgenic organisms to study their function can take weeks to months, significantly delaying the pace of research. To develop chloroplasts themselves as a quicker and more defined platform, we isolated chloroplasts from the green algae, Chlamydomonas reinhardtii, and examined their photosynthetic function after extraction. Combined with a metabolic modeling approach using flux-balance analysis, we identified key metabolic reactions essential to chloroplast function and leveraged this information into reagents that can be used in a “chloroplast media” capable of maintaining chloroplast photosynthetic function over time ex vivo compared to buffer alone. We envision this could serve as a model platform to enable more rapid design-build-test-learn cycles to study and improve chloroplast function in combination with genetic modifications and potentially as a starting point for the bottom-up design of a synthetic organelle-containing cell.

Chlamydomonas reinhardtii↗

Compactly‐Supported Nonstationary Kernels for Computing Exact Gaussian Processes on Big Data

The Gaussian process (GP) is a widely used method for analyzing large-scale data sets, including spatio-temporal measurements of nonlinear processes that are now commonplace in the environmental sciences. Traditional implementations of GPs involve stationary kernels (also termed covariance functions) that limit their flexibility, and exact methods for inference that prevent application to data sets with more than about 10,000 points. Modern approaches to address stationarity assumptions generally fail to accommodate large data sets, while all attempts to address scalability focus on approximating the Gaussian likelihood, which can involve subjectivity and lead to inaccuracies. In this work, we explicitly derive an alternative kernel that can discover and encode both sparsity and nonstationarity. We embed the kernel within a fully Bayesian GP model and leverage high-performance computing resources to enable the analysis of massive data sets. We demonstrate the favorable performance of our novel kernel relative to existing exact and approximate GP methods across a variety of synthetic data examples. Furthermore, we conduct space–time prediction based on more than 1 million measurements of daily maximum temperature and verify that our results outperform state-of-the-art methods in the Earth sciences. More broadly, having access to exact GPs that use ultra-scalable, sparsity-discovering, nonstationary kernels allows GP methods to truly compete with a wide variety of machine learning methods.

Gaussian processes↗

Leveraging Anderson Acceleration for improved convergence of iterative solutions to transport systems

In this note we demonstrate that using Anderson Acceleration (AA) in place of a standard Picard iteration can not only increase the convergence rate but also make the iteration more robust for two transport applications. We also compare the convergence acceleration provided by AA to that provided by moment-based acceleration methods. Additionally, we demonstrate that those two acceleration methods can be used together in a nested fashion. We begin by describing the AA algorithm. At this point, we will describe two application problems, one from neutronics and one from plasma physics, on which we will apply AA. We provide computational results which highlight the benefits of using AA, namely that we can compute solutions using fewer function evaluations, larger time-steps, and achieve a more robust iteration.

71 CLASSICAL AND QUANTUM MECHANICS, GENERAL PHYSIC↗

Accelerating Floating-Point Computations with Intel AMX

Intel AMX is a built-in component of recent Intel CPU architectures, first supported by the Intel Sapphire Rapids in 2023, that enables efficient dense matrix multiplications using mixed precision with low-precision data types. The popularity of mixed-precision algorithms has grown recently, primarily due to their use on GPUs to enhance the efficiency of HPC applications, particularly for the training of large language models. The availability of mixed precision on CPUs represents a cost-effective solution for applications where high speed is not critical. This report shows how to use the Intel AMX accelerator through examples in C++ and Python. The examples will focus on mixed-precision floating-point operations obtained by the use of bfloat16 (or BF16) to accelerate code in single precision. We employ a bottom-up methodology, starting from specific register instructions (TMUL operation) to higher-level applications in libraries such as Intel MKL, PyTorch, and TensorFlow, ensuring a comprehensive understanding of the accelerator's potential. Additionally, we provide insights into the expected performance gains when leveraging the accelerator on the Kestrel HPC machine at the National Renewable Energy Laboratory.

97 MATHEMATICS AND COMPUTING↗

Modular, Mobile Systems for the Treatment of Contaminated Water at Three Magnox Sites in the United Kingdom - 20421

Veolia Nuclear Solutions (VNS), and its mitigated entity, Veolia Nuclear Solutions Federal Services (VNSFS), are designing, overseeing the fabrication and installation, and supporting the commissioning of highly mobile and modular skid-based water treatment systems to assist in the decommissioning of three Magnox reactor sites based in the U.K. These Modular Active Effluent Treatment Plants (MAETP) will be deployed at the Chapelcross, Hinkley Point A, and Dungeness A sites to process contaminated water through the use of ion exchange systems and/or filtration units. At the time of writing, two systems have been installed and inactively commissioned, and the third system is expected to be delivered in 2020. Veolia has utilized a multi-national team of engineers, based in the UK and the US, to effectively leverage the best of Veolia expertise in the design and delivery of mobile, modular systems. The VNS team continues to refine the modular, mobile, and scalable approach to water processing system delivery, and has successfully patented the evolving technology for proprietary protection. The intent of this technology investment is to improve the functionality, mobility, and modularity, resulting in a system which can be adapted to a broad range of throughput and isotope removal requirements to achieve the most cost effective, flexible system possible for customers. Designing, fabricating, and factory-testing the modules off site followed by onsite installation, testing, start-up, and commissioning ensures expedited delivery and setup, as well as cost savings for nuclear applications. For the MAETP systems, VNS's previous nuclear site experience and ongoing Research and Development (R and D), combined with the resulting mobile/modular water processing systems developed and successfully deployed by VNS, have proven to be important inputs for the successful end-design of the systems, materials selection, system testing and commissioning. The lessons learned in the development and continued enhancement of the patented systems described in this paper will prove useful in advancing and deploying future systems for other nuclear sites, where rapid customizing and cost-effective implementation are critical factors. (authors)

12 MANAGEMENT OF RADIOACTIVE AND NON-RADIOACTIVE W↗

Resistive Network Optimal Power Flow: Uniqueness and Algorithms

The optimal power flow (OPF) problem minimizes the power loss in an electrical network by optimizing the voltage and power delivered at the network buses, and is a nonconvex problem that is generally hard to solve. By leveraging a recent development on the zero duality gap of OPF, we propose a second-order cone programming convex relaxation of the resistive network OPF, and study the uniqueness of the optimal solution using differential topology, especially the Poincare-Hopf Index Theorem. We characterize the global uniqueness for different network topologies, e.g., line, radial, and mesh networks. This serves as a starting point to design distributed local algorithms with global behaviors that have low complexity, are computationally fast, and can run under synchronous and asynchronous settings in practical power grids.

Tan, CW↗

Hiperclust

This software leverages transfer learning to analyze atom probe tomography (APT) data. It is trained on synthetic data and then applies this knowledge to predict the optimal number of clusters for a given APT dataset. Initially, the software used preliminary clustering to estimate the general structure of the data. Based on this, it provides suggestions for key parameters like minimum cluster size and minimum number of points. These parameters are critical for algorithms like HDBSCAN, ensuring accurate cluster formation without the need for trial-and-error testing. The software runs on High-Performance computing (HPC) systems, enabling fast, scalable analysis of large APT datasets, ultimately saving time and improving the reliability of clustering outcomes.

Tang, Yalei [Idaho National Laboratory (INL), Idah↗

California CO 2 Storage Assurance Facility Enterprise (C2SAFE): Final Technical Report

The California CO 2 Storage Assurance Facility Enterprise (C2SAFE) project conducted a preliminary study into the feasibility of a commercial-scale carbon dioxide (CO 2 ) storage complex located in California’s Southern San Joaquin Valley (SSJV). The work represents the first phase of a multi-phased development approach outlined by the United States Department of Energy’s (DOE’s) Carbon Storage Assurance and Facility Enterprise (CarbonSAFE) program meant to develop carbon storage sites capable of permanently storing 50 million metric tonnes of CO 2 , or greater, injected over a typical facility life of 20 to 30 years. This report represents the culmination of work performed under C2SAFE and outlines a phased implementation plan for large-scale, industrial carbon capture and permanent storage in California’s SSJV. The report is meant to be a standalone document and as such provides high-level summaries of all tasks of the project, but is also meant to complement the other three topical reports issued by the project – reports referenced herein. The study considered multiple scenarios including an east-side storage facility, a west-side storage facility, and potential multi-site storage facilities. The east-side storage facility is to be located at Clean Energy Systems, Inc.’s Kimberlina Power Plant, or nearby, and the west-side facility will be located at the California Resources Corporation’s (CRC’s) Elk Hills oil field. The majority of carbon emissions are planned to be captured from existing sources and transported to the selected and verified storage site(s). Capture from the single closest source to the eastern storage facility and the sources within the Elk Hills field would meet the CarbonSAFE storage goal of 50 million tonnes. The study has shown there is sufficient storage capacity to meet this requirement and more; thus, capture from any of the numerous additional large nearby sources would substantially leverage the CarbonSAFE investment. A comparison of preliminary CO 2 capture, transportation, and storage costs to economic value and incentives in the state shows current market conditions make it economically feasible to develop large-scale industrial storage sites in California’s SSJV. The business case for Carbon Capture and Storage (CCS) in California’s SSJV appears economically viable today for large CO 2 point sources involved in the production of transportation fuels, such as oilfield cogeneration units and steam boilers. The overall levelized CCS cost is estimated at roughly 125 per tonne of CO 2 , which includes CO 2 amine-solvent post-combustion capture, transportation, and storage. The levelized CO 2 capture cost is based on today’s technology, with no future cost reduction factored in for technology improvement. The sum of the value of incentives and revenue from California Low Carbon Fuel Standard (LCFS) credits (discounted roughly 20% from their current transaction value), sale of California cap-and-trade emission allowances, and Section 45Q tax credits—either for saline storage or the Enhanced Oil Recovery (EOR) credit plus CO 2 sales revenue—is about 165/tonne-CO 2 . The economic viability of CCS for Natural Gas Combined Cycle (NGCC) power plants in the SSJV is more site-specific. A plant providing power solely to the electric grid, if it added CCS, should be eligible for Section 45Q tax credits and could sell its excess cap-and-trade emission allowances, but it would not generate LCFS credits. Using the cost and incentive values detailed in this report, it would not be economical for such a plant to add CCS today, barring other considerations. An NGCC plant within an oilfield (e.g., CRC Elk Hills and NRG Sunrise) that provides power to the oilfield as well as to the grid should receive “partial credit” in terms of generating LCFS credits if it added CCS (pro-rated for the fraction of power going to the oilfield). Such a plant should also be eligible for Section 45Q tax credits and garner revenue from selling its excess cap-and-trade emission allowances. Using the cost and incentive values described in this report, the economic viability of adding CCS today would depend on the relative fractions of electricity supplied to the oilfield and the grid. As the value of cap-and-trade emission allowances grows over time (either by market forces or the escalating floor price), the relative fraction of power needing to remain in the oilfield to achieve “breakeven” would diminish. At some point, even plants providing all their power to the grid would be candidates for economical CCS application. The C2SAFE team has proposed to expand upon the knowledge gained during this study by conducting a detailed feasibility assessment under a follow-on phase of the program, Phase II – Feasibility. This would include detailed data collection at the two sites, analysis, reporting, stakeholder outreach, and risk mitigation activities to support the development of a commercial carbon storage complex in the SSJV.

58 GEOSCIENCES↗

Data Locality Enhancement of Dynamic Simulations for Exascale Computing (Final Report)

The development of modern processors exhibits two trends that complicate the optimizations of modern software. The first is the increasing sensitivity of processors' throughput to irregularities in computation. With more processors produced through a massive integration of simple cores, future systems will increasingly favor regular data-level parallel computations, but deviate from the needs of applications with complex patterns. Some evidences are already shown on Graphic Processing Units (GPU): Irregular data accesses (e.g., indirect references A[D[i]]) and conditional branches are limiting many GPU applications' performance at a level an order of magnitude lower than the peak of GPU. The second hardware trend is the growing gap between memory bandwidth and the aggregate speed—that is, the sum of all cores' computing power—of a Chip Multiprocessor (CMP). Despite the capped growth of the peak CPU speed, the aggregate speed of a CMP keeps increasing as more cores get into a single chip. It is expected that by 2018, node concurrency in an exascale system will increase by hundreds of times, whereas, memory bandwidth will expand by only 10 to 20 times. Consequently, data movement and storage is expected to consume more than 70% of the total system power. Bridging this gap is difficult; the complexities of modern CMP memory hierarchy make it even harder: Data cache becomes shared among computing units, and the sharing is often non-uniform—whether two computing units share a cache depends on their proximity and the level of the cache. On the recent IBM Power7 architecture, for instance, four hardware contexts (or SMT threads) in a core share the entire memory hierarchy, all cores in one chip share an on-chip L3 cache, and cores across chips share L3 and main memory through off-chip connections. These two trends complicate the translation of computing power into performance, especially for a program with either intensive data accesses or complex patterns in data accesses or control flow paths. Unfortunately, both attributes present and will persist in a class of important applications. For instance, many scientific simulations deal with a large volume of data. And meanwhile, as most real-world processes are non-uniform and evolving (e.g., the evolution of a galaxy or the process of a drug injection), both the computations and data accesses of these programs tend to be irregular and dynamically changing. Currently, the lack of support to these applications on modern CMP severely limits their performance. On GPU, as our recent study shows and other studies echo, performance enhancement of a factor of integers is possible when memory accesses or control flows are streamlined for a set of GPU applications. On multicore CPU, our studies show that traditional locality enhancement, for being oblivious to the new features of multicore memory hierarchy, may even cause large slowdown to data-intensive dynamic applications. The severity of the issues is expected to worsen as the two hardware trends continue. Some recent studies try to match software with the trends, but in a limited scope or manner. For irregularities on GPU, most studies focus on irregularities analyzable through static analysis (e.g., data accesses in regular loops). Dynamic irregularities are harder to address because the needed analysis and transformations typically have to happen at run time. Some other research resorts to hardware extensions, an actual adoption of which is unclear for the entailed space cost and complexity. For data locality, recent years have seen some exploitations of the new memory hierarchy on multicore for performance, but most of them are on process or thread scheduling, rather than program transformations. Our recent study reveals that program-level transformations may magnify the scheduling benefits by a factor of seven, concluding that program-level transformation should play a central role for data locality enhancement on modern CMP. But research in this direction has been sparse, and most have focused on data layout or cache performance modeling, rather than program transformations to match with the new memory hierarchy features. Overall, it is still an open question how to bridge the gap between dynamic computations and the two prominent properties of modern processors. The goal of this project is to develop a set of techniques and software tools to enhance the matching between memory accesses in dynamic simulations and the prominent features of modern and future CMP, alleviating the memory performance issues for petascale and exascale computing. This report summarizes the discoveries and products produced throughout this project. It includes free launch, a new software approach to overcoming the shortcomings of both methods; coherence-free multiview, an approach that allows multiple views of a single data object to co-exist on GPU memory during a GPU kernel execution; algorithmic optimizations to data analytics problems, especially those that involve lots of distance calculations. Supporting dynamic parallelism is important for GPU to benefit a broad range of applications. There are currently two fundamental ways for programs to exploit dynamic parallelism on GPU: a software-based approach with software-managed worklists, and a hardware-based approach through dynamic subkernel launches. Neither is satisfactory. The former is complicated to program and is often subject to some load imbalance; the latter suffers large runtime overhead. In this work, we propose free launch, a new software approach to overcoming the shortcomings of both methods. It allows programmers to use subkernel launches to express dynamic parallelism. It employs a novel compiler-based code transformation named subkernel launch removal to replace the subkernel launches with the reuse of parent threads. Coupled with an adaptive task assignment mechanism, the transformation reassigns the tasks in the subkernels to the parent threads with a good load balance. The technique requires no hardware extensions, immediately deployable on existing GPUs. It keeps the programming convenience of the subkernel launch-based approach while avoiding its large runtime overhead. Meanwhile, its superior load balancing makes it outperform manual worklist-based techniques by 3X on average. The work was published at the 48th Annual IEEE/ACM International Symposium on Microarchitecture (Micro'2015). A Graphic Processing Unit (GPU) system is typically equipped with many types of memory (e.g., global, constant, texture, shared, cache). Data placement determines what data are placed on which type of memory, essential for GPU memory performance. Prior optimizations of data placement always require a single view of a data object on memory, which limits the optimization effectiveness. In this work, we propose coherence-free multiview, an approach that allows multiple views of a single data object to co-exist on GPU memory during a GPU kernel execution. We demonstrate that under certain conditions, the multiple views can remain incoherent while facilitating enhanced data placement. We present a theorem and some compiler support to ensure the soundness of the usage of coherence-free multiview. We further develop reference-discerning data placement, a new way to enhance data placements on GPU. It enables more flexible data placements by using coherence-free multiview to leverage the slack in coherence requirement of some GPU programs. Experiments on three types of GPU systems show that, with less than 200KB space cost, the new data placement technique can provide a 1.6X average (up to 4.27X) speedup. In addition, we have examined algorithmic optimizations to data analytics problems, especially those that involve lots of distance calculations. Computing distances among data points is an essential part of many important algorithms in data analytics, graph analysis, and other domains. In each of these domains, developers have spent significant manual effort optimizing algorithms, often through novel applications of the triangle equality, in order to minimize the number of distance computations in the algorithms. In this work, we observe that many algorithms across these domains can be generalized as an instance of a generic distance-related abstraction. Based on this abstraction, we derive seven principles for correctly applying the triangular inequality to optimize distance-related algorithms. Guided by the findings, we develop Triangular OPtimizer (TOP), the first software framework that is able to automatically produce optimized algorithms that either matches or outperforms manually designed algorithms for solving distance-related problems. TOP achieves up to 237x speedups and 2.5X on average. The work has been published at the 32nd International Conference on Machine Learning (ICML'15) and the 41st International Conference on Very Large Data Bases (VLDB'15).

42 ENGINEERING↗

Inferring dark matter substructure with astrometric lensing beyond the power spectrum

Abstract Astrometry—the precise measurement of positions and motions of celestial objects—has emerged as a promising avenue for characterizing the dark matter population in our Galaxy. By leveraging recent advances in simulation-based inference and neural network architectures, we introduce a novel method to search for global dark matter-induced gravitational lensing signatures in astrometric datasets. Our method based on neural likelihood-ratio estimation shows significantly enhanced sensitivity to a cold dark matter population and more favorable scaling with measurement noise compared to existing approaches based on two-point correlation statistics. We demonstrate the real-world viability of our method by showing it to be robust to non-trivial modeled as well as unmodeled noise features expected in astrometric measurements. This establishes machine learning as a powerful tool for characterizing dark matter using astrometric data.

convolutional neural networks (1938)↗