Skip to content

MedicineYeh/kmeans-hsa

Repository files navigation

This is for homework

Data Preparation

./data_generator test_set 100000 10

Execution on HSA Machine

  • Manual Compilation: make c_test hsa data_generator
  • Automatic Compilation and Execution: make execute

Execution on OpenCL Machine

  • Manual Compilation: make c_test cl_test data_generator
  • Automatic Compilation and Execution: make execute_cl

Manual Execution and Validation

./run_all.sh

Arguments Description

  • ./data_generator [FILE TO EXPORT] [DCNT] [DIM]
  • ./c_test [FILE TO EXPORT]
  • Notice that the number of DCNT and DIM must be matched to the #define N_DCNT and #define N_DIM in main.c

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published