In the "thesis reboot" post, I brought back from the dead the dusty implementation of my master thesis. Seeing that it was still (almost) working, a week off work was planned to prepare its adaptation to the almighty OpenCL. This post summarizes what this week was all about.
Everything starts with this article: Getting Started with Debugging with Intel® Parallel Studio XE 2016. unfortunately, the article is quite old now ("Last updated on August 25, 2015") and not really up-to-date anymore.
A multi-core CPU or multiple CPUs (in a multi-socket machine) constitute a single OpenCL device. Separate cores are compute units.
Work-group [is a ] a collection of related work-items that execute on …
Wouldn't it be nice to let people play with gdb and inapp from the internet?
Yeah, but wait a minute, people would take control of the host computer and use its network connectivity of other and unintended purposes. Especially since the demo gives you access to a working gdb session …
It may look easy to do with good old XMLHttpRequest, but actually, it is not as obvious. In binary mode, the response object returned by XMLHttpRequest is always complete. Chunked responses are only possible using non-standard moz-chunked-arraybuffer transfer mode (only support …
Convert a Super Nintendo gamepad to an USB keyboard.
Ever wondered if you could type using a gamepad? On one side, a standard keyboard with its 100+ keys gives you direct access to most characters, but is not very confortable to use since you have to move your hands. On …
The long awaited quest of the USB On-the-Go with mainline Linux kernel 4.x.
As already documented here before, it is possible to configure FriendlyARM's NanoPi Neo to behave as an USB Ethernet/RNDIS gadget device. Unfortunately this functionality relied on legacy/hacked sunxi kernel. This kernel (3.x …
How to run a docker container from another docker container?
Create a docker image which runs jenkins. A jenkins task will prepare a data
folder to be used along with another docker container. At the end the two containers will run
side by side. The container spawned by the jenkins …
RUN apt-get update && \
apt-get install -y firefox-esr && \
RUN groupadd --gid 1000 user && \
useradd --uid 1000 --gid 1000 --create-home user