Skip to content

Instantly share code, notes, and snippets.

🍕

Alessandro Pozone poz1

🍕
Block or report user

Report or block poz1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View PrimeBenchmark.c
#include <stdio.h>
#include "xtime_l.h"
#include "platform.h"
#include "xil_printf.h"
#include "xparameters.h"
#define MAX 10000000
#define CACHE_MAX 1000
/* Compute the sqrt(n) using Newton's approximation method.
@poz1
poz1 / ubuntu-1804lts-ocl-preparedness.md
Created Jul 25, 2019 — forked from Brainiarc7/ubuntu-1804lts-ocl-preparedness.md
Preparing Ubuntu 18.04LTS as an OpenCL development platform, with a sample build target provided by Pyrit to demonstrate OpenCL ICD coexistence.
View ubuntu-1804lts-ocl-preparedness.md

Preparing Ubuntu 18.04LTS as an OpenCL development platform:

With OpenCL, the installable client drivers (ICDs) are normally issued with the accelerator's device drivers, namely:

  1. The NVIDIA CUDA toolkit (and the device driver) for NVIDIA GPUs.
  2. AMD's RoCM for GCN-class AMD hardware.
  3. Intel's beignet and the newer Neo compute runtime.

The purpose of the installable client driver model is to allow multiple OpenCL platforms to coexist on the same platform. That way, multiple OpenCL accelerators, be they discrete GPUs paired with a combination of FPGAs and integrated GPUs can all coexist.

@poz1
poz1 / xbox-one-wireless-protocol.md
Created Jan 18, 2019 — forked from devkid/xbox-one-wireless-protocol.md
XBox One Wireless Controller Protocol
View xbox-one-wireless-protocol.md

Physical layer

The dongle itself is sending out data using 802.11a (5 GHz WiFi) with OFDM and 6 Mbit/s data rate:

Radiotap Header v0, Length 38
    Header revision: 0
    Header pad: 0
    Header length: 38
    Present flags
You can’t perform that action at this time.