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

[CUDA][HIP][DPC++] Fix an issue with double frees when OKL has multip… #624

Merged
merged 1 commit into from
Oct 3, 2022

Conversation

noelchalmers
Copy link
Contributor

Description

Fix an issue where a seg fault is encountered when destroying an occa::kernel that was created via a multi-kernel OKL file in CUDA, HIP, or DPC++ modes.

A multi-kernel OKL file is one that has multiple distinct outer-loop blocks.

@codecov
Copy link

codecov bot commented Sep 29, 2022

Codecov Report

Merging #624 (93b8ae5) into development (50a8a9b) will increase coverage by 0.00%.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##           development     #624   +/-   ##
============================================
  Coverage        77.28%   77.28%           
============================================
  Files              265      265           
  Lines            19570    19572    +2     
============================================
+ Hits             15124    15127    +3     
+ Misses            4446     4445    -1     
Impacted Files Coverage Δ
src/occa/internal/utils/sys.cpp 76.88% <0.00%> (+0.10%) ⬆️
src/occa/internal/lang/specialMacros.cpp 60.26% <0.00%> (+0.66%) ⬆️

@kris-rowe kris-rowe merged commit f3373b7 into libocca:development Oct 3, 2022
kris-rowe pushed a commit that referenced this pull request Dec 16, 2022
kris-rowe pushed a commit that referenced this pull request Dec 19, 2022
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