This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from numba import cuda | |
import numpy as np | |
@cuda.jit | |
def foo(arr): | |
for i in range(arr.size): | |
arr[i] += i | |
A = np.arange(10000) | |
B = np.arange(10000) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ACQ SIDE | |
# ====================================================== | |
import bluesky.plans as bp | |
import bluesky.plan_stubs as bps | |
from bluesky.utils import Msg, short_uid as _short_uid | |
from bluesky.preprocessors import subs_wrapper | |
from bluesky.simulators import summarize_plan | |
from bluesky.callbacks import LiveTable | |
from xpdacq.xpdacq_conf import xpd_configuration | |
from xpdacq.xpdacq import glbl, CustomizedRunEngine |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from conda_build import api | |
from conda_build.config import Config | |
from json import dumps | |
from rever.tools import hash_url | |
def pp(jason): | |
print(dumps(jason, indent=4, sort_keys=True)) | |
def main(): |