Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

116 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XKOMP

An experimental OpenMP runtime-library implementation built on top of the XKaapi runtime system, and an extended LLVM's Clang ABI.

Installation

You must have an installation of

Example of LLVM build

cmake ../llvm -DCMAKE_BUILD_TYPE=Debug -DLLVM_ENABLE_PROJECTS="clang" -DLLVM_ENABLE_RUNTIMES="openmp;offload" -DLLVM_TARGETS_TO_BUILD="NVPTX;X86" -DCMAKE_INSTALL_PREFIX=~/install/llvm/debug

Example of XKOMP build

cmake -DCMAKE_BUILD_TYPE=Debug ../

Example of application build

xkcc main.c -o main

Remarks

  • Use -fopenmp-task-jit-type=[pointers|packed] to change how the llvm-ir of tasks is forwarded by clang to xkomp. With pointers, all arguments (firstprivate, shared, etc.) are stored in a void ** args array, referenced within the outlined region. With packed, they are packed in a void * args, size_t size compact structure.

Bits of history

XKRT is a fork of XKaapi, that it extended with support for task dependencies over intersecting regions of memory (https://gitlab.inria.fr/xkaapi/dev-v2) This repo is a prototype implementation of OpenMP, with partial support for taskgraphs (6.0) and extensions for dataflow, on top of XKRT.

A previous implementation of OpenMP on top of XKaapi is available here:

About

An experimental OpenMP implementation built on top of XKaapi

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages