IWOCL 19: Let’s Teach are Computers to Program

iwocl_name_tag

Recently I had the privilege of joining the organizing committee of International Workshop on OpenCL (IWOCL) 2019, as a volunteer. The workshop was three days; However, I was excited to attend a conference held in conjunction with IWOCL which was DHPCC++ (Distributed & Heterogeneous Programming in C/C++). IWOCL: The Push Towards Heterogeneous Programming The end … Continue reading IWOCL 19: Let’s Teach are Computers to Program

Compilation and Linking Cuda with C

cuda-gdb

Managing complexity and modularity becomes important as your project scope increases. Therefore, separate compilation and linking Cuda with C is a must have. Learn how you could compile your Cuda code separately and link with your C object code. Example Files As an example, we will look at a stencil computation (nearest neighbor computation). Let's … Continue reading Compilation and Linking Cuda with C

Parallel Merge Sort with Pthreads

tree-branch-merge-sort

Most of the implementations in the web for parallel merge sort do not consider how elements are divided between threads, if the total number of elements is not perfectly divisible by the number of threads. Also, the final merge (having joined all threads) should happen in a recursive manner. But first, let's go through a … Continue reading Parallel Merge Sort with Pthreads

SSL Certificate to Apache2 Server

If you don't know anything about SSL (Secure Sockets Layer), it's the standard security protocol to establish an encrypted link between a server and a web browser. The link ensures that all communications are private and that hackers cannot snoop traffic. By following this guide you will learn what an SSL certificate is and how … Continue reading SSL Certificate to Apache2 Server

Dinero Trace Generator using Javascript

bills-cash-collection-47344

It's quite surprising that around the time when this blog post was written, I couldn't find a Dinero Trace Generator online. Dinero is a cache simulator software that had been developed around 20 years ago. To generate traces, you just have to do simple bit manipulations. Ironically, today, our modern browsers have the power to … Continue reading Dinero Trace Generator using Javascript