Move common gpu primitives to backend/gpu (#2145)

This commit is contained in:
Cheng
2025-05-06 05:45:29 +09:00
committed by GitHub
parent af705590ac
commit 1683975acf
26 changed files with 340 additions and 277 deletions

View File

@@ -1,7 +1,7 @@
// Copyright © 2023-2024 Apple Inc.
#include <algorithm>
#include "mlx/backend/metal/copy.h"
#include "mlx/backend/gpu/copy.h"
#include "mlx/backend/metal/device.h"
#include "mlx/backend/metal/kernels.h"
#include "mlx/backend/metal/kernels/defines.h"