Skip to content

Instantly share code, notes, and snippets.

View simgt's full-sized avatar

Simon simgt

  • France
View GitHub Profile
@simgt
simgt / host_device_transfer_bug.cpp
Last active December 18, 2015 16:39
Host-buffers to device transfer and mapping failure with an AMD GCN device
#include <CL/cl.h>
#include <iostream>
#include <vector>
#include <cassert>
#include <cstdlib>
#include <cstring>
#define STRINGIFY(s) #s