@@ -18,7 +18,7 @@ package org.apache.spark.shuffle
1818
1919import org .apache .gluten .backendsapi .BackendsApiManager
2020import org .apache .gluten .columnarbatch .ColumnarBatches
21- import org .apache .gluten .config .{GlutenConfig , GpuHashShuffleWriterType , HashShuffleWriterType , SortShuffleWriterType }
21+ import org .apache .gluten .config .{GlutenConfig , HashShuffleWriterType , SortShuffleWriterType }
2222import org .apache .gluten .memory .memtarget .{MemoryTarget , Spiller }
2323import org .apache .gluten .runtime .Runtimes
2424import org .apache .gluten .vectorized ._
@@ -44,7 +44,7 @@ class ColumnarShuffleWriter[K, V](
4444 private val dep = handle.dependency.asInstanceOf [ColumnarShuffleDependency [K , V , V ]]
4545
4646 dep.shuffleWriterType match {
47- case HashShuffleWriterType | SortShuffleWriterType | GpuHashShuffleWriterType =>
47+ case HashShuffleWriterType | SortShuffleWriterType =>
4848 // Valid shuffle writer types
4949 case _ =>
5050 throw new IllegalArgumentException (
@@ -174,17 +174,6 @@ class ColumnarShuffleWriter[K, V](
174174 conf.get(SHUFFLE_SORT_USE_RADIXSORT ),
175175 partitionWriterHandle
176176 )
177- } else if (dep.shuffleWriterType == GpuHashShuffleWriterType ) {
178- shuffleWriterJniWrapper.createGpuHashShuffleWriter(
179- numPartitions,
180- dep.nativePartitioning.getShortName,
181- GlutenShuffleUtils .getStartPartitionId(
182- dep.nativePartitioning,
183- taskContext.partitionId),
184- nativeBufferSize,
185- reallocThreshold,
186- partitionWriterHandle
187- )
188177 } else {
189178 shuffleWriterJniWrapper.createHashShuffleWriter(
190179 numPartitions,
0 commit comments