Skip to content

JIghtuse/tm-experiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tm-experiments

Build status

Transactional memory (mostly Intel® TSX) experiments

histogram

Based on Performance Evaluation of Intel® TSX for HPC.

Image histogram construction workload. Concurrent threads directly update the shared histogram. Such task comprises the core compute of many HPC workloads.

Building:

make -C histogram

Usage:

./bin/hist ./content/bmp_24.bmp

clojure-example

Examples stolen from sw1nn blog: Clojure STM - What? Why? How?

A few examples of Clojure STM, the single language which supports TM in the core.

Usage:

clojure clojure-example/transfer.clj

haskell-example

Example taken from Simon Peyton Jones article in School of Haskell: Software Transactional Memory

The same example as in Clojure, transfering some amount of money from one account to another.

Building:

ghc haskell-example/transfer.hs

Usage:

haskell-example/transfer

About

Transactional memory (mostly Intel® TSX) experiments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published