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

[ESIMD] Enabled back kmeans test by reducing the number of iterations #309

Merged
merged 1 commit into from
Jun 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions SYCL/ESIMD/kmeans/kmeans.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@
// UNSUPPORTED: cuda
// RUN: %clangxx -fsycl %s -I%S/.. -o %t.out
// RUN: %HOST_RUN_PLACEHOLDER %t.out %S/points.csv
// FIXME disable the test until timeout issue is fixed
// RUNx: %GPU_RUN_PLACEHOLDER %t.out %S/points.csv
//
// RUN: %GPU_RUN_PLACEHOLDER %t.out %S/points.csv

#include "kmeans.h"
#include "esimd_test_utils.hpp"
Expand Down
2 changes: 1 addition & 1 deletion SYCL/ESIMD/kmeans/kmeans.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ static constexpr unsigned int NUM_CENTROIDS_ACTUAL = 20;
static constexpr unsigned int NUM_CENTROIDS_ALLOCATED =
((NUM_CENTROIDS_ACTUAL + 15) / 16) * 16;
static constexpr unsigned int SIMD_SIZE = 16;
static constexpr unsigned int NUM_ITERATIONS = 21;
static constexpr unsigned int NUM_ITERATIONS = 7;

typedef struct {
float x;
Expand Down