While iterative optimization has become a popular compiler optimization approach, it is based on a premise which has never been truly evaluated: that it is possible to learn the best compiler optimizations across data sets. Up to now, most iterative optimization studies find the best optimizations through repeated runs on the same data set. Only a handful of studies have attempted to exercise iterative optimization on a few tens of data sets. In this paper, we truly put iterative compilation to the test for the first time by evaluating its effectiveness across a large number of data sets. We therefore compose KDataSets, a data set suite with 1000 data sets for 32 programs, which we release to the public. We characterize the diversity of KDataSets, and subsequently use it to evaluate iterative optimization.We demonstrate that it is possible to derive a robust iterative optimization strategy across data sets: for all 32 programs, we find that there exists at least one combination of compiler optimizations that achieves 86% or more of the best possible speedup across all data sets using Intel's ICC (83% for GNU's GCC). This optimal combination is program-specific and yields speedups up to 1.71 on ICC and 2.23 on GCC over the highest optimization level (-fast and -O3, respectively). This finding makes the task of optimizing programs across data sets much easier than previously anticipated, and it paves the way for the practical and reliable usage of iterative optimization. Finally, we derive pre-shipping and post-shipping optimization strategies for software vendors.
Agricultural soils can be contaminated by industrial activities such as mining and smelting. Contamination with cadmium (Cd) can significantly exceed average background values, which can lead to uptake by rice plant and even harm to humans through food chain. In Hunan province, southern China, rice (Oryza sativa L.) is the main cereal, and human exposure to metallic contaminants through rice pathway is of particular interest. Shortage of land for rice growing means that contaminated agricultural soil is still cultivated for rice in Hunan. In the present work, a field experiment was undertaken to remediate Cd-contaminated paddy soil with three mineral amendments, namely sepiolite, bone char, and a silicon-based product (normally used as fertilizer). Average Cd concentration in the paddy soil was 2.85 mg/kg, significantly exceeding Chinese soil quality standards of China. Cd content was 0.59 mg/kg in sepiolite, 0.28 mg/kg in bone char, and 0.44 mg/kg in silicon fertilizer, respectively. Distribution fractions of Cd in soil followed the order of exchangeable (FI) > organic matter-bound (FIII) > residual (FIV) > oxide-bound (FII) without treatment, while exchangeable (FI) > residual (FIV) > organic matter-bound (FIII) > oxide-bound (FII) after treatment. With addition of three amendments, soil pH values and rice growth such as plant height and ripening rate increased. Concentrations of Cd in the rice plant (straw, husk, and unpolished rice) decreased after treatment. However, among three amendments, only the bone char addition reduced Cd accumulation in the rice plant below the Chinese standard value (0.2 mg/kg) and in the husk to below the Chinese feed hygiene standard for food (0.5 mg/kg).
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations–citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.
hi@scite.ai
10624 S. Eastern Ave., Ste. A-614
Henderson, NV 89052, USA
Copyright © 2024 scite LLC. All rights reserved.
Made with 💙 for researchers
Part of the Research Solutions Family.