Skip to content

Instantly share code, notes, and snippets.

[OPENCL]:OpenCL device Tahiti has insufficient GPU memory.1819279360 bytes of memory found < 2000000000 bytes of memory required
[OPENCL]:OpenCL device Tahiti has insufficient GPU memory.1947205632 bytes of memory found < 2000000000 bytes of memory required
[OPENCL]:OpenCL device Tahiti has insufficient GPU memory.1945108480 bytes of memory found < 2000000000 bytes of memory required
[OPENCL]:OpenCL device Tahiti has insufficient GPU memory.1947205632 bytes of memory found < 2000000000 bytes of memory required
[OPENCL]:Found suitable OpenCL device [Tahiti] with 3179282432 bytes of GPU memory
[OPENCL]:Using platform: AMD Accelerated Parallel Processing
[OPENCL]:Using device: Tahiti(OpenCL 1.2 AMD-APP (1642.5))
[OPENCL]:Printing program log
[OPENCL]:
[OPENCL]:Loading chunk kernels
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x739ca9]
goroutine 11 [running]:
github.com/Gustav-Simonsson/go-opencl/cl.(*CommandQueue).EnqueueWriteBuffer(0x0, 0x0, 0x0, 0x0, 0x20, 0xc2080d7c28, 0x0, 0x0, 0x0, 0x0, ...)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/Gustav-Simonsson/go-opencl/cl/queue.go:99 +0x99
github.com/ethereum/ethash.(*OpenCL).Search(0xc20817e3c0, 0x7fbdc3283d38, 0xc20817e480, 0xc208068720, 0x1, 0x0, 0x0, 0x0)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/ethereum/ethash/ethash_opencl.go:397 +0x25a
created by github.com/ethereum/go-ethereum/miner.GPUBench
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/miner.go:164 +0x458

Keybase proof

I hereby claim:

  • I am kobigurk on github.
  • I am kobigurk (https://keybase.io/kobigurk) on keybase.
  • I have a public key whose fingerprint is BED0 4536 0F50 4BEF EB8C A51D E0D6 DB62 59ED DFAD

To claim this, I am signing this object:

var bitcore = require('bitcore');
var request = require('request');
var utxo = {
'txId' : '0c5d827a24b0822abbff73f1adbfd2be7efaf4e368b4baac7e280865eb13f497',
'outputIndex' : 1,
'script' : 'a91431f2ae5b333c56a4f01df6209382ec8f892e4f3687',
'satoshis' : 1000000
};
class Bank {
int[] balances = {0, 100, 0};
void send(int from, int to, int amount) {
if (balances[from] >= amount) {
balances[from] -= amount;
balances[to] += amount;
}
class Bank {
int[] balances = {0, 100, 0};
void send(int from, int to, int amount) {
if (balances[from] >= amount) {
balances[from] -= amount;
balances[to] += amount;
}
}
class Bank {
int[] balances = {0, 100, 0};
void send(int from, int to, int amount) {
if (balances[from] >= amount) {
balances[from] -= amount;
balances[to] += amount;
}
}
@kobigurk
kobigurk / Dockerfile
Last active September 4, 2016 11:07
formal toolset
FROM ubuntu:16.04
MAINTAINER Sami Mäkelä
RUN apt-get update && \
apt-get install -y coq wget gcc ocaml menhir libmenhir-ocaml-dev libcoq-ocaml-dev libzarith-ocaml-dev libocamlgraph-ocaml-dev unzip liblablgtksourceview2-ocaml-dev libzip-ocaml-dev vim libxtst6
env PATH="/src/Isabelle2016/bin:${PATH}"
RUN mkdir src ; cd src && \
wget https://alt-ergo.ocamlpro.com/download_manager.php?target=alt-ergo-static-1.01-x86_64 -O alt-ergo && \
'use strict'
if(process.env.ENV === 'dev') delete process.versions['electron']
const fs = require('fs')
const path = require('path')
const ipfsd = require('ipfsd-ctl')
const IpfsApi = require('ipfs-api')
const Logger = require('logplease')
const Orbit = require('./src/Orbit')
sorted = candy.sort.to_a
sorted.each_with_index{|item, index| index+k-1 >= sorted.size() ? (results[index] = Float::INFINITY) : (results[index] = (sorted[index+k-1] - sorted[index]))}
ans = results.min