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

[bug] Fix struct field error on bool on cuda #8134

Merged
merged 2 commits into from
Jun 5, 2023
Merged

Conversation

listerily
Copy link
Contributor

@listerily listerily commented Jun 5, 2023

Issue: #8086

Brief Summary

This pull request adds support for bool types in TaskCodeGenCUDA::create_intrinsic_load which solves bit width issue on CUDA runtime. The problem was that nvvm_ldg_global_i does not support 1 bit integer. So we cast pointers and values to i8 to solve this issue.

Walkthrough

  • Added value and pointer casting in TaskCodeGenCUDA::create_intrinsic_load
  • Added test case

@netlify
Copy link

netlify bot commented Jun 5, 2023

Deploy Preview for docsite-preview ready!

Name Link
🔨 Latest commit 7616f65
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/647d833a80ba4300082abbf2
😎 Deploy Preview https://deploy-preview-8134--docsite-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Contributor

@lin-hitonami lin-hitonami left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@listerily listerily merged commit a54ac8a into master Jun 5, 2023
@listerily listerily deleted the fix_issue_8086 branch June 12, 2023 08:35
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

Successfully merging this pull request may close these issues.

2 participants