Builtins increase context refcount.

Change-Id: I146852092e1cb374b816875ae9a90ac03a8f205e
This commit is contained in:
Zdunowski, Piotr
2018-05-16 17:22:03 +02:00
committed by sys_ocldev
parent 09e4dab4f6
commit 39d55e5257
47 changed files with 173 additions and 202 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Intel Corporation
* Copyright (c) 2017 - 2018, Intel Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
@@ -118,7 +118,7 @@ TEST_F(ProgramWithBlockKernelsTest, GivenKernelWithBlockKernelsWhenProgramIsLink
ASSERT_NE(nullptr, pProgram);
EXPECT_EQ(CL_SUCCESS, retVal);
Program *programLinked = new Program(pContext, false);
Program *programLinked = new Program(pContext);
cl_program program = pProgram;
retVal = pProgram->compile(1, &device, buildOptions, 0, nullptr, nullptr, nullptr, nullptr);