Fix vulkan subtest for diffCtx and platform/device info (#2046)

Fixes:
1. Multi import diff ctx subtest which acquires/releases external memory
via queue not associated with the context in which memory was imported.
2. Platform/Device info subtests to handle different platforms and
availability of the query.
This commit is contained in:
saurabhnv
2024-09-24 21:25:01 +05:30
committed by GitHub
parent 0c7fbc46e6
commit e865c1e8dd
5 changed files with 152 additions and 45 deletions

View File

@@ -185,6 +185,10 @@ extern int gHasLong; // This is set to 1 if the device suppots long and ulong
extern bool gCoreILProgram;
extern cl_platform_id getPlatformFromDevice(cl_device_id deviceID);
extern std::string get_platform_info_string(cl_platform_id platform,
cl_platform_info param_name);
extern bool is_platform_extension_available(cl_platform_id platform,
const char *extensionName);
#if !defined(__APPLE__)
void memset_pattern4(void *, const void *, size_t);