mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Rename "cuburnlib" (stupid) to "cuburn" (stupid but shorter)
--HG-- rename : cuburnlib/__init__.py => cuburn/__init__.py rename : cuburnlib/cuda.py => cuburn/cuda.py rename : cuburnlib/device_code.py => cuburn/device_code.py rename : cuburnlib/ptx.py => cuburn/ptx.py rename : cuburnlib/render.py => cuburn/render.py
This commit is contained in:
parent
4552589b35
commit
36f1c1c056
6
bench.py
6
bench.py
@ -7,9 +7,9 @@ Various micro-benchmarks and other experiments.
|
|||||||
import numpy as np
|
import numpy as np
|
||||||
import pycuda.autoinit
|
import pycuda.autoinit
|
||||||
import pycuda.driver as cuda
|
import pycuda.driver as cuda
|
||||||
from cuburnlib.ptx import PTXFragment, PTXTest, ptx_func, instmethod
|
from cuburn.ptx import PTXFragment, PTXTest, ptx_func, instmethod
|
||||||
from cuburnlib.cuda import LaunchContext
|
from cuburn.cuda import LaunchContext
|
||||||
from cuburnlib.device_code import MWCRNG, MWCRNGTest
|
from cuburn.device_code import MWCRNG, MWCRNGTest
|
||||||
|
|
||||||
class L2WriteCombining(PTXTest):
|
class L2WriteCombining(PTXTest):
|
||||||
"""
|
"""
|
||||||
|
@ -10,7 +10,7 @@ import pycuda.gl.autoinit
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from cuburnlib.ptx import PTXModule, PTXTest, PTXTestFailure
|
from cuburn.ptx import PTXModule, PTXTest, PTXTestFailure
|
||||||
|
|
||||||
class LaunchContext(object):
|
class LaunchContext(object):
|
||||||
"""
|
"""
|
@ -9,7 +9,7 @@ import struct
|
|||||||
import pycuda.driver as cuda
|
import pycuda.driver as cuda
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from cuburnlib.ptx import *
|
from cuburn.ptx import *
|
||||||
|
|
||||||
class IterThread(PTXEntryPoint):
|
class IterThread(PTXEntryPoint):
|
||||||
entry_name = 'iter_thread'
|
entry_name = 'iter_thread'
|
@ -7,8 +7,8 @@ from fr0stlib import pyflam3
|
|||||||
from fr0stlib.pyflam3._flam3 import *
|
from fr0stlib.pyflam3._flam3 import *
|
||||||
from fr0stlib.pyflam3.constants import *
|
from fr0stlib.pyflam3.constants import *
|
||||||
|
|
||||||
from cuburnlib.cuda import LaunchContext
|
from cuburn.cuda import LaunchContext
|
||||||
from cuburnlib.device_code import *
|
from cuburn.device_code import *
|
||||||
|
|
||||||
Point = lambda x, y: np.array([x, y], dtype=np.double)
|
Point = lambda x, y: np.array([x, y], dtype=np.double)
|
||||||
|
|
6
main.py
6
main.py
@ -15,11 +15,11 @@ from ctypes import *
|
|||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
|
|
||||||
from cuburnlib.device_code import IterThread
|
from cuburn.device_code import IterThread
|
||||||
from cuburnlib.cuda import LaunchContext
|
from cuburn.cuda import LaunchContext
|
||||||
from fr0stlib.pyflam3 import *
|
from fr0stlib.pyflam3 import *
|
||||||
from fr0stlib.pyflam3._flam3 import *
|
from fr0stlib.pyflam3._flam3 import *
|
||||||
from cuburnlib.render import *
|
from cuburn.render import *
|
||||||
|
|
||||||
import pyglet
|
import pyglet
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user