Skip to content

Commit 3119b56

Browse files
committed
change copyright year from year range to starting year
1 parent 30e3d4e commit 3119b56

14 files changed

+30
-18
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) 2017-2025, Intel Corporation
1+
Copyright (c) 2017, 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:

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
## `mkl_random` -- a NumPy-based Python interface to Intel (R) MKL Random Number Generation functionality
1+
## `mkl_random` -- a NumPy-based Python interface to Intel® oneAPI Math Kernel Library (OneMKL) Random Number Generation functionality
22
[![Conda package using conda-forge](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml/badge.svg)](https://github.com/IntelPython/mkl_random/actions/workflows/conda-package-cf.yml)
33

4-
`mkl_random` has started as Intel (R) Distribution for Python optimizations for NumPy.
4+
`mkl_random` started as a part of Intel® Distribution for Python optimizations to NumPy.
55

66
Per NumPy's community suggestions, voiced in https://github.com/numpy/numpy/pull/8209, it is being released as a
77
stand-alone package.
88

9-
Prebuilt `mkl_random` can be installed into conda environment from Intel's channel:
9+
Prebuilt `mkl_random` can be installed into conda environment from Intel's channel using:
1010

1111
```
1212
conda install -c https://software.repos.intel.com/python/conda mkl_random
@@ -38,7 +38,7 @@ Where `<numpy_version>` should be the latest version from https://software.repos
3838

3939
`mkl_random` is not fixed-seed backward compatible drop-in replacement for `numpy.random`, meaning that it implements sampling from the same distributions as `numpy.random`.
4040

41-
For distributions directly supported in Intel (R) Math Kernel Library (MKL), `method` keyword is supported:
41+
For distributions directly supported in Intel® OneMKL, `method` keyword is supported:
4242

4343
```
4444
mkl_random.standard_normal(size=(10**5, 10**3), method='BoxMuller')
@@ -65,3 +65,15 @@ The list of supported by `mkl_random.RandomState` constructor `brng` keywords is
6565
* 'PHILOX4X32X10'
6666
* 'NONDETERM'
6767
* 'ARS5'
68+
69+
---
70+
71+
To build `mkl_random` from sources on Linux with Intel® OneMKL:
72+
- install a recent version of MKL, if necessary;
73+
- execute `source /path_to_oneapi/mkl/latest/env/vars.sh`;
74+
- execute `python -m pip install .`
75+
76+
To build `mkl_random` from sources on Linux with conda:
77+
- install `python`, and `mkl-devel` in a conda environment;
78+
- execute `export MKLROOT=$CONDA_PREFIX`
79+
- execute `python -m pip install .`

docs/source/tutorials.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The package :mod:`mkl_random` is available in `conda <https://docs.conda.io/en/l
2222
2323
$ conda install mkl_random
2424
25-
The package can also be installed via :code:`pip` package manager, either from central Python package index (PyPI) repository, or from index maintained by Intel(R):
25+
The package can also be installed via :code:`pip` package manager, either from central Python package index (PyPI) repository, or from index maintained by Intel®:
2626

2727
.. code-block:: bash
2828
:caption: Install mkl_random using pip from intel channel on Anaconda
@@ -34,7 +34,7 @@ The package can also be installed via :code:`pip` package manager, either from c
3434
3535
$ pip install mkl_random
3636
37-
The :mod:`mkl_random` is also distributed as part of `Intel(R) Distribution for Python* <https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html>`_.
37+
The :mod:`mkl_random` is also distributed as part of `Intel® Distribution for Python* <https://www.intel.com/content/www/us/en/developer/tools/oneapi/distribution-for-python.html>`_.
3838

3939
First steps
4040
-----------

mkl_random/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2025, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/_init_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2025 Intel Corporation
1+
# Copyright (c) 2025 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_random/src/mkl_distributions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2025, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/mkl_distributions.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2025, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/numpy_multiiter_workaround.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2024-2025, Intel Corporation
2+
Copyright (c) 2024, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/randomkit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2025, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/src/randomkit.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (c) 2017-2025, Intel Corporation
2+
Copyright (c) 2017, Intel Corporation
33
44
Redistribution and use in source and binary forms, with or without
55
modification, are permitted provided that the following conditions are met:

mkl_random/tests/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2025, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/tests/test_random.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2025, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

mkl_random/tests/test_regression.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2025, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
# Copyright (c) 2017-2025, Intel Corporation
2+
# Copyright (c) 2017, Intel Corporation
33
#
44
# Redistribution and use in source and binary forms, with or without
55
# modification, are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)