rename llops to opencl

This commit is contained in:
George Hotz
2022-06-06 07:49:36 -07:00
parent 233c71a7ba
commit 30f55eaaba
2 changed files with 3 additions and 3 deletions

View File

@@ -2,9 +2,9 @@ import pyopencl as cl
import numpy as np
from tinygrad.helpers import binary_broadcast
from ..tensor import Function
from ..llops.gpu import GPUBuffer
from ..llops.gpu import unary_op, binary_op, reduce_op, perm_axis, inner_slice
from ..llops.gpu import matmul, conv, convdw, convdx
from ..llops.opencl import GPUBuffer
from ..llops.opencl import unary_op, binary_op, reduce_op, perm_axis, inner_slice
from ..llops.opencl import matmul, conv, convdw, convdx
def buffer_new(shape, zero=False):
return GPUBuffer(shape, hostbuf=None if not zero else np.zeros(shape, dtype=np.float32))