Added printf test for long type cases (#2037)

according to work plan for issue
https://github.com/KhronosGroup/OpenCL-CTS/issues/1058
This commit is contained in:
Marcin Hajder
2024-09-24 17:42:49 +02:00
committed by GitHub
parent 8c647c1cf4
commit 661a7b08ae
3 changed files with 104 additions and 23 deletions

View File

@@ -46,6 +46,7 @@
enum PrintfTestType
{
TYPE_INT,
TYPE_LONG,
TYPE_HALF,
TYPE_HALF_LIMITS,
TYPE_FLOAT,
@@ -80,6 +81,7 @@ struct printDataGenParameters
// Reference results - filled out at run-time
static std::vector<std::string> correctBufferInt;
static std::vector<std::string> correctBufferLong;
static std::vector<std::string> correctBufferHalf;
static std::vector<std::string> correctBufferFloat;
static std::vector<std::string> correctBufferDouble;