Skip to content

Commit 15be6f6

Browse files
MAINT: Code reorg. Replaced assert with raising exceptions
1. mkl-service can now be built in-place. mkl-service/mkl-service renamed into mkl-service/mkl and setup.py now matches the name of folder, enabling working of build_ext --inplace 2. Moved tests/ and examples/ folders to the main level 3. Replaced use of assert with checks and raising of meaningful exceptions. 4. In Cython `cdef inline` is not useful unless types are specified, so did that, and moved all input checking to the cpdef functions. 5. Use Intel(R) MKL instead of Intel MKL
1 parent 7ecc964 commit 15be6f6

File tree

8 files changed

+232
-177
lines changed

8 files changed

+232
-177
lines changed

LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2018, Intel Corporation
1+
Copyright (c) 2018-2019, Intel Corporation
22

33
Redistribution and use in source and binary forms, with or without
44
modification, are permitted provided that the following conditions are met:

mkl-service/examples/example.py renamed to examples/example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, Intel Corporation
1+
# Copyright (c) 2018-2019, Intel Corporation
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions are met:

mkl-service/__init__.py renamed to mkl/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, Intel Corporation
1+
# Copyright (c) 2018-2019, Intel Corporation
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions are met:

mkl-service/_mkl_service.pxd renamed to mkl/_mkl_service.pxd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright (c) 2018, Intel Corporation
1+
# Copyright (c) 2018-2019, Intel Corporation
22
#
33
# Redistribution and use in source and binary forms, with or without
44
# modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)