Erik Smistad Blog

Getting started with Google Test (GTest) on Ubuntu 40

Getting started with Google Test (GTest) on Ubuntu

Google test is a framework for writing C++ unit tests. In this short post, I explain how to set it up in Ubuntu. Start by installing the gtest development package: sudo apt-get install libgtest-devsudo...

OpenCL Logo 16

OpenCL C++ Utilities

I recently created a small utility library for OpenCL with C++. It consists of a set of function based on the OpenCL C++ bindings to help set up an OpenCL context, compiling OpenCL code...

OpenCL Logo 32

Using the C++ bindings for OpenCL

While the OpenCL API is written in C, the OpenCL 1.1 specification also comes with a specification for C++ bindings. In this post I go through how to use the C++ bindings instead of...

The Boltzmann machine 0

The Boltzmann machine

The neural network discussed in this post, called the Boltzmann machine, is a stochastic and recurrent network. This post contains my exam notes for the course TDT4270 Statistical image analysis and learning and explains...

OpenCL Logo 149

Getting started with OpenCL and GPU Computing

OpenCL (Open Computing Language) is a new framework for writing programs that execute in parallel on different compute devices (such as CPUs and GPUs) from different vendors (AMD, Intel, ATI, Nvidia etc.). The framework...

Making charts and output them as images to the browser in Django 10

Making charts and output them as images to the browser in Django

Lets say you are working on a website made in Django. And you want to make some nice looking graphs real time, as images from dynamic data. This can be done by using the...

Competitive and cooperative interactions in biological inspired AI 0

Competitive and cooperative interactions in biological inspired AI

In this essay, written as my final essay in the course IT3708 spring 2010, I discuss two phenomenas that are the driving forces for a lot of the complex biological systems in nature with...