Skip to content

Commit 4400bdd

Browse files
authored
Fix spellings. (#79)
1 parent 95047ab commit 4400bdd

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dpctl/ocldrv.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def __del__(self):
342342
pass
343343

344344
def retain_context(self):
345-
''' Increment the refrence count of the OpenCL context object.
345+
''' Increment the reference count of the OpenCL context object.
346346
'''
347347

348348
retval = (lib.retain_dp_context(self._env_ptr.context))
@@ -352,7 +352,7 @@ def retain_context(self):
352352
return (self._env_ptr.context)
353353

354354
def release_context(self):
355-
''' Increment the refrence count of the OpenCL context object.
355+
''' Increment the reference count of the OpenCL context object.
356356
'''
357357

358358
retval = (lib.release_dp_context(self._env_ptr.context))
@@ -617,7 +617,7 @@ def dump(self):
617617
def enqueue_kernel (device_env, kernel, kernelargs, global_work_size,
618618
local_work_size):
619619
''' 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
621621
finishes execution.
622622
'''
623623

@@ -670,7 +670,7 @@ def dppl_error():
670670
def igpu_context(*args, **kwds):
671671
''' A context manager sets the current DeviceEnv inside the global
672672
runtime object to the default GPU DeviceEnv. The GPU DeviceEnv is
673-
yeilded by the context manager.
673+
yielded by the context manager.
674674
'''
675675

676676
device_id = 0
@@ -692,7 +692,7 @@ def igpu_context(*args, **kwds):
692692
def cpu_context(*args, **kwds):
693693
''' A context manager sets the current DeviceEnv inside the global
694694
runtime object to the default CPU DeviceEnv. The CPU DeviceEnv is
695-
yeilded by the context manager.
695+
yielded by the context manager.
696696
'''
697697

698698
device_id = 0

0 commit comments

Comments
 (0)