Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pyopencl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Andreas Klöckner
pyopencl
Commits
041a7eea
Commit
041a7eea
authored
6 years ago
by
Andreas Klöckner
Browse files
Options
Downloads
Patches
Plain Diff
Fix docs for ImmediateAllocator (closes #265 on github)
parent
81db54d6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!71
Fix docs for ImmediateAllocator (closes #265 on github)
Pipeline
#15383
failed
6 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/tools.rst
+4
-4
4 additions, 4 deletions
doc/tools.rst
with
4 additions
and
4 deletions
doc/tools.rst
+
4
−
4
View file @
041a7eea
...
...
@@ -57,10 +57,10 @@ not complicated::
.. class:: ImmediateAllocator(queue, mem_flags=pyopencl.mem_flags.READ_WRITE)
*mem_flags* takes its values from :class:`pyopencl.mem_flags` and corresponds
to the *flags* argument of :class:`pyopencl.Buffer`.
DeferredAllocator
has the same semantics as regular OpenCL buffer allocation, i.e. it may
promise memory to be available that later on (in any call to a buffer-using
CL function)
.
to the *flags* argument of :class:`pyopencl.Buffer`.
:class:`ImmediateAllocator` will attempt to ensure at allocation time that
allocated memory is actually available. If no memory is available, an out-of-memory
error is reported at allocation time
.
.. versionadded:: 2013.1
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment