Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 907cce4

Browse files
[ESIMD] Enabled back kmeans test by reducing the number of iterations (#309)
1 parent c8d3a3a commit 907cce4

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

SYCL/ESIMD/kmeans/kmeans.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
// UNSUPPORTED: cuda
1010
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
1111
// RUN: %HOST_RUN_PLACEHOLDER %t.out %S/points.csv
12-
// FIXME disable the test until timeout issue is fixed
13-
// RUNx: %GPU_RUN_PLACEHOLDER %t.out %S/points.csv
14-
//
12+
// RUN: %GPU_RUN_PLACEHOLDER %t.out %S/points.csv
1513

1614
#include "kmeans.h"
1715
#include "esimd_test_utils.hpp"

SYCL/ESIMD/kmeans/kmeans.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static constexpr unsigned int NUM_CENTROIDS_ACTUAL = 20;
1818
static constexpr unsigned int NUM_CENTROIDS_ALLOCATED =
1919
((NUM_CENTROIDS_ACTUAL + 15) / 16) * 16;
2020
static constexpr unsigned int SIMD_SIZE = 16;
21-
static constexpr unsigned int NUM_ITERATIONS = 21;
21+
static constexpr unsigned int NUM_ITERATIONS = 7;
2222

2323
typedef struct {
2424
float x;

0 commit comments

Comments
 (0)