@@ -342,7 +342,7 @@ def __del__(self):
342
342
pass
343
343
344
344
def retain_context (self ):
345
- ''' Increment the refrence count of the OpenCL context object.
345
+ ''' Increment the reference count of the OpenCL context object.
346
346
'''
347
347
348
348
retval = (lib .retain_dp_context (self ._env_ptr .context ))
@@ -352,7 +352,7 @@ def retain_context(self):
352
352
return (self ._env_ptr .context )
353
353
354
354
def release_context (self ):
355
- ''' Increment the refrence count of the OpenCL context object.
355
+ ''' Increment the reference count of the OpenCL context object.
356
356
'''
357
357
358
358
retval = (lib .release_dp_context (self ._env_ptr .context ))
@@ -617,7 +617,7 @@ def dump(self):
617
617
def enqueue_kernel (device_env , kernel , kernelargs , global_work_size ,
618
618
local_work_size ):
619
619
''' A single wrapper function over OpenCL clCreateKernelArgs and
620
- clEnqueueNDRangeKernel. The function blocks till the enqued kernel
620
+ clEnqueueNDRangeKernel. The function blocks till the enqueued kernel
621
621
finishes execution.
622
622
'''
623
623
@@ -670,7 +670,7 @@ def dppl_error():
670
670
def igpu_context (* args , ** kwds ):
671
671
''' A context manager sets the current DeviceEnv inside the global
672
672
runtime object to the default GPU DeviceEnv. The GPU DeviceEnv is
673
- yeilded by the context manager.
673
+ yielded by the context manager.
674
674
'''
675
675
676
676
device_id = 0
@@ -692,7 +692,7 @@ def igpu_context(*args, **kwds):
692
692
def cpu_context (* args , ** kwds ):
693
693
''' A context manager sets the current DeviceEnv inside the global
694
694
runtime object to the default CPU DeviceEnv. The CPU DeviceEnv is
695
- yeilded by the context manager.
695
+ yielded by the context manager.
696
696
'''
697
697
698
698
device_id = 0
0 commit comments