mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 14:09:03 +00:00
Fix support verification for read write images (#1072)
This commit is contained in:
committed by
GitHub
parent
5bd85b7384
commit
827dffbd83
@@ -1,6 +1,6 @@
|
||||
//
|
||||
// Copyright (c) 2017 The Khronos Group Inc.
|
||||
//
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
@@ -57,7 +57,7 @@ int test_rw_image_access_qualifier(cl_device_id device_id, cl_context context, c
|
||||
{
|
||||
cl_uint are_rw_images_supported{};
|
||||
test_error(
|
||||
clGetDeviceInfo(device_id, CL_DEVICE_MAX_READ_IMAGE_ARGS,
|
||||
clGetDeviceInfo(device_id, CL_DEVICE_MAX_READ_WRITE_IMAGE_ARGS,
|
||||
sizeof(are_rw_images_supported),
|
||||
&are_rw_images_supported, nullptr),
|
||||
"clGetDeviceInfo failed for CL_DEVICE_MAX_READ_IMAGE_ARGS\n");
|
||||
|
||||
Reference in New Issue
Block a user