Skip to content

Commit 6075499

Browse files
authored
Merge pull request #150 from Srinivasuluch/patch-1
Update CLWPlatform.cpp
2 parents e931166 + 5a5b868 commit 6075499

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CLW/CLWPlatform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ void CLWPlatform::CreateAllPlatforms(std::vector<CLWPlatform>& platforms)
7070

7171
std::string versionstr(version.begin(), version.end());
7272

73-
if (versionstr.find("OpenCL 1.0") != std::string::npos ||
73+
if (versionstr.find("OpenCL 1.0 ") != std::string::npos ||
7474
versionstr.find("OpenCL 1.1") != std::string::npos)
7575
{
7676
continue;

0 commit comments

Comments
 (0)