Skip to content
Snippets Groups Projects
Commit eef8105e authored by Andreas Klöckner's avatar Andreas Klöckner
Browse files

Merge porter:src/pyopencl

parents 4f1a8dc5 2e583f06
No related branches found
No related tags found
No related merge requests found
Pipeline #
#! /usr/bin/env python
from __future__ import division
import pyopencl as cl
import sys
ctx = cl.create_some_context()
with open(sys.argv[1], "r") as inf:
src = inf.read()
prg = cl.Program(ctx, src).build()
print(prg.binaries[0].decode())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment