summaryrefslogtreecommitdiffstats
path: root/llvm/docs/NVPTXUsage.rst
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs/NVPTXUsage.rst')
-rw-r--r--llvm/docs/NVPTXUsage.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/NVPTXUsage.rst b/llvm/docs/NVPTXUsage.rst
index fc697ca0046..71acb0c79fc 100644
--- a/llvm/docs/NVPTXUsage.rst
+++ b/llvm/docs/NVPTXUsage.rst
@@ -395,7 +395,7 @@ JIT compiling a PTX string to a device binary:
.. code-block:: c++
CUmodule module;
- CUfunction funcion;
+ CUfunction function;
// JIT compile a null-terminated PTX string
cuModuleLoadData(&module, (void*)PTXString);
OpenPOWER on IntegriCloud