Changeset 7ae2b7f in sasmodels for sasmodels/kernelcl.py


Ignore:
Timestamp:
Apr 11, 2016 12:48:41 PM (8 years ago)
Author:
Paul Kienzle <pkienzle@…>
Branches:
master, core_shell_microgels, costrafo411, magnetic_model, release_v0.94, release_v0.95, ticket-1257-vesicle-product, ticket_1156, ticket_1265_superball, ticket_822_more_unit_tests
Children:
fa5fd8d
Parents:
f619de7
Message:

still more linting; ignore numpy types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sasmodels/kernelcl.py

    rf619de7 r7ae2b7f  
    5252import warnings 
    5353 
    54 import numpy as np 
     54import numpy as np  # type: ignore 
    5555 
    5656try: 
    5757    raise NotImplementedError("OpenCL not yet implemented for new kernel template") 
    58     import pyopencl as cl 
     58    import pyopencl as cl  # type: ignore 
    5959    # Ask OpenCL for the default context so that we know that one exists 
    6060    cl.create_some_context(interactive=False) 
     
    6363    raise RuntimeError("OpenCL not available") 
    6464 
    65 from pyopencl import mem_flags as mf 
    66 from pyopencl.characterize import get_fast_inaccurate_build_options 
     65from pyopencl import mem_flags as mf  # type: ignore 
     66from pyopencl.characterize import get_fast_inaccurate_build_options  # type: ignore 
    6767 
    6868from . import generate 
Note: See TracChangeset for help on using the changeset viewer.