Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
minmingzhu committed Oct 16, 2024
1 parent a1eb9bc commit f72beaf
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mllib-dal/src/main/native/service.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ using namespace daal::data_management;
#include "oneapi/dal/table/homogen.hpp"

typedef std::vector<daal::byte> ByteBuffer;

typedef float GpuAlgorithmFPType; /* Algorithm floating-point type */
typedef double CpuAlgorithmFPType; /* Algorithm floating-point type */
enum class ComputeDevice { host, cpu, gpu, uninitialized };
const std::string ComputeDeviceString[] = {"HOST", "CPU", "GPU"};

Expand All @@ -71,8 +72,6 @@ ComputeDevice getComputeDeviceByOrdinal(size_t computeDeviceOrdinal);
using namespace oneapi::dal;
using namespace oneapi::dal::detail;

typedef float GpuAlgorithmFPType; /* Algorithm floating-point type */
typedef double CpuAlgorithmFPType; /* Algorithm floating-point type */
typedef std::shared_ptr<homogen_table> HomogenTablePtr;
typedef std::shared_ptr<csr_table> CSRTablePtr;

Expand Down

0 comments on commit f72beaf

Please sign in to comment.