Methods and apparatuses for thread management of mult-threading
    57.
    发明申请
    Methods and apparatuses for thread management of mult-threading 审中-公开
    多线程线程管理方法与设备

    公开(公告)号:US20050071841A1

    公开(公告)日:2005-03-31

    申请号:US10676581

    申请日:2003-09-30

    IPC分类号: G06F9/45 G06F9/46

    CPC分类号: G06F8/441

    摘要: Methods and apparatuses for thread management for multi-threading are described herein. In one embodiment, exemplary process includes selecting, during a compilation of code having one or more threads executable in a data processing system, a current thread having a most bottom order, determining resources allocated to one or more child threads spawned from the current thread, and allocating resources for the current thread in consideration of the resources allocated to the current thread's one or more child threads to avoid resource conflicts between the current thread and its one or more child threads. Other methods and apparatuses are also described.

    摘要翻译: 本文描述了用于多线程的线程管理的方法和装置。 在一个实施例中,示例性过程包括在具有在数据处理系统中可执行的一个或多个线程的代码的编译期间选择具有最低阶的当前线程,确定分配给从当前线程产生的一个或多个子线程的资源, 并且考虑分配给当前线程的一个或多个子线程的资源来为当前线程分配资源,以避免当前线程与其一个或多个子线程之间的资源冲突。 还描述了其它方法和装置。

    Method, system, and program of a compiler to parallelize source code
    58.
    发明授权
    Method, system, and program of a compiler to parallelize source code 有权
    编译器的方法,系统和程序来并行化源代码

    公开(公告)号:US07882498B2

    公开(公告)日:2011-02-01

    申请号:US11278329

    申请日:2006-03-31

    IPC分类号: G06F9/45

    CPC分类号: G06F8/456 G06F8/314

    摘要: Provided are a method, system, and program for parallelizing source code with a compiler. Source code including source code statements is received. The source code statements are processed to determine a dependency of the statements. Multiple groups of statements are determined from the determined dependency of the statements, wherein statements in one group are dependent on one another. At least one directive is inserted in the source code, wherein each directive is associated with one group of statements. Resulting threaded code is generated including the inserted at least one directive. The group of statements to which the directive in the resulting threaded code applies are processed as a separate task. Each group of statements designated by the directive to be processed as a separate task may be processed concurrently with respect to other groups of statements.

    摘要翻译: 提供了一种用于将源代码并行化为编译器的方法,系统和程序。 收到包含源代码语句的源代码。 处理源代码语句以确定语句的依赖关系。 根据确定的语句依赖关系确定多组语句,其中一组中的语句彼此依赖。 在源代码中插入至少一个指令,其中每个指令与一组语句相关联。 产生的结果线程代码包括插入的至少一个指令。 生成的线程代码中的指令所适用的语句组被处理为单独的任务。 指定为要作为单独任务处理的指令的每组语句可以与其他语句组并发处理。

    Thread-data affinity optimization using compiler
    60.
    发明授权
    Thread-data affinity optimization using compiler 有权
    线程数据亲和力优化使用编译器

    公开(公告)号:US08037465B2

    公开(公告)日:2011-10-11

    申请号:US11242489

    申请日:2005-09-30

    IPC分类号: G06F9/44 G06F9/45

    CPC分类号: G06F8/45

    摘要: Thread-data affinity optimization can be performed by a compiler during the compiling of a computer program to be executed on a cache coherent non-uniform memory access (cc-NUMA) platform. In one embodiment, the present invention includes receiving a program to be compiled. The received program is then compiled in a first pass and executed. During execution, the compiler collects profiling data using a profiling tool. Then, in a second pass, the compiler performs thread-data affinity optimization on the program using the collected profiling data.

    摘要翻译: 线程数据亲和度优化可以在编译要在高速缓存相干非均匀内存访问(cc-NUMA)平台上执行的计算机程序时由编译器执行。 在一个实施例中,本发明包括接收要编译的程序。 接收的程序然后被编译成第一遍并被执行。 在执行期间,编译器使用分析工具收集分析数据。 然后,在第二遍,编译器使用收集的分析数据对程序执行线程数据关联优化。