Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C/C++ backend doesn't handle gpu_threads() or gpu_blocks() #2084

Closed
steven-johnson opened this issue May 25, 2017 · 0 comments
Closed

C/C++ backend doesn't handle gpu_threads() or gpu_blocks() #2084

steven-johnson opened this issue May 25, 2017 · 0 comments

Comments

@steven-johnson
Copy link
Contributor

No description provided.

dsharletg added a commit that referenced this issue Feb 26, 2021
dsharletg added a commit that referenced this issue Mar 4, 2021
…on't build them if not enabled (#5776)

* Remove unused vertex buffer parameters.

* Offload GPU code in a lowering pass instead of via CodeGen_GPU_Host. Fixes #5650, fixes #2797, fixes #2084, now #1971 is more relevant.

* clang-format.

* clang-format sorting is case sensitive!?

* clang-tidy

* Move codegen backends into anonymous namespaces in source files.

* clang-format

* Pass type arguments correctly.

* Update OffloadGPULoops.cpp

* trigger buildbots

* trigger buildbots

* Hack around tests that rely on the IR for offloaded GPU loops.

* Fix missing include.

* Remove unused include.

* clang-tidy

* Use custom lowering pass to see code before GPU offloading

* Speculative fix for segfault

* Fix const correctness

* Fix error on unused variables in generated code.

Co-authored-by: Steven Johnson <srj@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant