From b19d703b30fee3eb0f4f5577f4af8039f2700262 Mon Sep 17 00:00:00 2001 From: Bartosz Wozniak Date: Thu, 17 Apr 2014 12:56:15 +0200 Subject: [PATCH] Fixed links in the documentation --- doc/source/conf.py | 3 ++- gimmik/generator.py | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 1a6393f..61a4563 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -264,4 +264,5 @@ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'http://docs.python.org/': None} +intersphinx_mapping = {'http://docs.python.org/': None, + 'http://docs.scipy.org/doc/numpy/': None} diff --git a/gimmik/generator.py b/gimmik/generator.py index 3f0a16f..d8a1212 100644 --- a/gimmik/generator.py +++ b/gimmik/generator.py @@ -18,10 +18,10 @@ def generateKernel(data, platform, alpha=1.0, beta=0.0, double=True, executed on the platform of choice. Args: - data (:class:`numpy.array`): The operator matrix *A*. + data (:class:`numpy.ndarray`): The operator matrix *A*. - platform (:class:`gimmik.Platform`): The platform to generate code for - e.g. *Platform.CUDA*. See :class:`gimmik.Platform` for more detail. + platform (:class:`~gimmik.platform.Platform`): The platform to generate code for. + Currently one of *Platform.CUDA* or *Platform.OPENCL*. Kwargs: alpha (float): Operator matrix multiplier. See description.