【24h】

Thick Control Flows: Introduction and Prospects

机译:大量控制流程:简介和前景

获取原文

摘要

Besides correctness of programing, the technical software problem of many contemporary approaches to multithreaded computations is how to organize the co-operation of a huge number of parallel threads. For the software problems, we propose parallel thick control flows as the solution. When a thick control flow (in terms of the number of threads) is executing a statement or an expression of a program, all the threads are considered to execute the same program element synchronously in parallel. Considering method calls, when a control flow with thickness t calls a method, the method is not called separately by each of the t threads, but the control flow calls it only once with t threads. A call stack is not related to each thread but to each of the parallel control flows, since threads do not have program counters -only control flows have program counters. The concept of thread is only implicit. A thick thread-wise variable is an array-like value having a thread-wise actual value. Method signatures naturally advance types with thickness, but non-thick types are also useful. The concept of thick control flow makes the programmer to focus on co-operation of few parallel thick control flows instead of a huge number of parallel threads. The concept computation's state is promoted as a flow is seen to have a state (instead of each thread). The concept of state has been in a central role in achieving correctness in sequential programs. The concept of thick control flows is related to data parallelism and stream computing. It is a natural generalization of ordinary imperative sequential programming.
机译:除了编程的正确性,许多现代多线程计算方法的技术软件问题还在于如何组织大量并行线程的协作。对于软件问题,我们提出了并行密集控制流作为解决方案。当厚控制流(就线程数而言)正在执行程序的语句或表达式时,将所有线程视为并行并行执行同一程序元素。考虑到方法调用,当厚度为t的控制流调用方法时,t个线程中的每个线程都不分别调用该方法,但是控制流仅使用t个线程对其调用一次。调用堆栈与每个线程无关,但与每个并行控制流相关,因为线程不具有程序计数器-仅控制流具有程序计数器。线程的概念只是隐式的。粗线方向变量是具有线方向实际值的类似数组的值。方法签名自然会随着厚度增​​加类型,但非加厚类型也很有用。密集控制流的概念使程序员可以专注于少量并行密集控制流的协作,而不是大量并行线程的协作。当计算流具有状态(而不是每个线程)时,将提升概念计算的状态。状态的概念在顺序程序的正确性中起着中心作用。密集控制流的概念与数据并行性和流计算有关。它是普通命令式顺序编程的自然概括。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号