From 3e6ad1ed88288daf5ca8fa51510a8dfb5383cc6d Mon Sep 17 00:00:00 2001 From: Noah Williams Date: Thu, 16 Nov 2023 15:11:41 -0600 Subject: [PATCH] Fix compilation errors in array and vector library unsafeCoerce# has been moved from GHC.Base to GHC.Exts. --- .../src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs | 1 + .../src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs | 1 + 2 files changed, 2 insertions(+) diff --git a/accelerate-io-array/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs b/accelerate-io-array/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs index 73d2734..4df4b1b 100644 --- a/accelerate-io-array/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs +++ b/accelerate-io-array/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs @@ -18,6 +18,7 @@ module Data.Array.Accelerate.IO.Data.Primitive.ByteArray import Data.Primitive.ByteArray import GHC.Base +import GHC.Exts import GHC.ForeignPtr diff --git a/accelerate-io-vector/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs b/accelerate-io-vector/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs index 73d2734..4df4b1b 100644 --- a/accelerate-io-vector/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs +++ b/accelerate-io-vector/src/Data/Array/Accelerate/IO/Data/Primitive/ByteArray.hs @@ -18,6 +18,7 @@ module Data.Array.Accelerate.IO.Data.Primitive.ByteArray import Data.Primitive.ByteArray import GHC.Base +import GHC.Exts import GHC.ForeignPtr