SWDEV-110636 - added if statement so that output of clBuildProgram follows opencl specification
Change-Id: I4ee000008c52a0bbdb47e94a8e1b5faf28c3bfe6
[ROCm/clr commit: 1fe9918576]
このコミットが含まれているのは:
1 親
c07620985b
コミット
c200479039
1ファイル変更
+3
@@ -500,6 +500,9 @@ RUNTIME_ENTRY(cl_int, clBuildProgram,
|
||||
if ((num_devices > 0 && device_list == NULL) || (num_devices == 0 && device_list != NULL)) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
if (pfn_notify == nullptr && user_data != nullptr) {
|
||||
return CL_INVALID_VALUE;
|
||||
}
|
||||
|
||||
amd::Program* amdProgram = as_amd(program);
|
||||
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする