From bb64813d8da0fb561e151d35a0725b7dcbcbe44e Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Fri, 18 Jun 2010 16:55:49 -0400
Subject: [PATCH] Fix tracing/error message typos. (patch by Tomasz Rybak)

---
 src/wrapper/wrap_cl.hpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/wrapper/wrap_cl.hpp b/src/wrapper/wrap_cl.hpp
index 35e85e26..3fbcfd96 100644
--- a/src/wrapper/wrap_cl.hpp
+++ b/src/wrapper/wrap_cl.hpp
@@ -2303,9 +2303,9 @@ namespace pyopencl
     cl_int status_code;
     cl_program result = clCreateProgramWithSource(
         ctx.data(), 1, &string, &length, &status_code);
-    PYOPENCL_PRINT_CALL_TRACE("clCreateProrgramWithSource");
+    PYOPENCL_PRINT_CALL_TRACE("clCreateProgramWithSource");
     if (status_code != CL_SUCCESS)
-      throw pyopencl::error("clCreateProrgramWithSource", status_code);
+      throw pyopencl::error("clCreateProgramWithSource", status_code);
 
     try
     {
@@ -2357,9 +2357,9 @@ namespace pyopencl
         ctx.data(), num_devices,
         devices.empty( ) ? NULL : &devices.front(), sizes.empty( ) ? NULL : &sizes.front(), binaries.empty( ) ? NULL : &binaries.front(),
         /*binary_status*/ 0, &status_code);
-    PYOPENCL_PRINT_CALL_TRACE("clCreateProrgramWithBinary");
+    PYOPENCL_PRINT_CALL_TRACE("clCreateProgramWithBinary");
     if (status_code != CL_SUCCESS)
-      throw pyopencl::error("clCreateProrgramWithBinary", status_code);
+      throw pyopencl::error("clCreateProgramWithBinary", status_code);
 
     try
     {
-- 
GitLab