Ben Chuanlong Du's Blog

It is never too late to learn.

Thread-Local Storage for Rayon

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

There might be issue if the code relies on Drop of the struct. For example, if you create a BufWriter in thread-local storage, last buffered output might not flush. You have …

Tips on GPU Computing

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

List GPU Devices on Linux

You can list GPU devices using the following command on linux.

lspci -v | grep VGA

Machine Learning Frameworks Supporting Managing GPU Resources

Rust for IoT

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

tock-os

tock-os Tock is an embedded operating system designed for running multiple concurrent, mutually distrustful applications on Cortex-M and RISC-V based embedded platforms. Tock's design centers around protection, both from potentially …

High Performance Computing in Python

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Computing Frames

Apache Ray

A fast and simple framework for building and running distributed applications.

Ray does not handle large data well (as of 2018/05/28). Please refer to the …