Skip to content

Conversation

@Fznamznon
Copy link
Contributor

When sampler was created on host with enums and passed to device we
released null sampler because in GetOrCreateSampler we set m_ReleaseSampler to
true and stored created sampler not into m_Sampler field which is released in
destructor.

Signed-off-by: Mariya Podchishchaeva mariya.podchishchaeva@intel.com

romanovvlad
romanovvlad previously approved these changes May 15, 2019
@bader
Copy link
Contributor

bader commented May 17, 2019

@Fznamznon, please, rebase the patch to the tip of the branch.

@Fznamznon
Copy link
Contributor Author

@Fznamznon, please, rebase the patch to the tip of the branch.

Done

bader
bader previously approved these changes May 17, 2019
@Fznamznon
Copy link
Contributor Author

Looks like test failures are caused not by my change. Will we commit this patch in this case?

@bader
Copy link
Contributor

bader commented May 20, 2019

Our development process do not allow merging PRs with failing tests. We must fix all the failures before we can continue merging patches.
I suggest reverting PR #146 to unblock the development.
@vladimirlaz, @MrSidims, please, take required actions if you agree.

When sampler was created on host with enums and passed to device we
released null sampler because in GetOrCreateSampler we set m_ReleaseSampler to
true and stored created sampler not into m_Sampler field which is released in
destructor.

Signed-off-by: Mariya Podchishchaeva <mariya.podchishchaeva@intel.com>
@bader
Copy link
Contributor

bader commented May 21, 2019

@Fznamznon, the regression was fixed. Please, rebase your patch one more time.

@bader bader merged commit 02531c4 into intel:sycl May 21, 2019
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.

3 participants