mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-23 10:02:12 +08:00
21 lines
443 B
Plaintext
21 lines
443 B
Plaintext
// Copyright © 2025 Apple Inc.
|
|
|
|
#include <hip/hip_runtime.h>
|
|
|
|
#include "mlx/backend/rocm/utils.h"
|
|
#include "mlx/backend/common/primitives.h"
|
|
|
|
namespace mlx::core::rocm {
|
|
|
|
// Basic kernel implementations will go here
|
|
// This is a placeholder for ROCm-specific primitive operations
|
|
|
|
void add_hip() {
|
|
// Placeholder for HIP add operation
|
|
}
|
|
|
|
void multiply_hip() {
|
|
// Placeholder for HIP multiply operation
|
|
}
|
|
|
|
} // namespace mlx::core::rocm |