Skip to content

Commit f8dd365

Browse files
adding RAM datatype in common.jl
1 parent 40453b2 commit f8dd365

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/platforms/common.jl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ export Now3D, Now3Dx, MMX, SSE, SSE_2, SSE2, SSE_3, SSE3, SSSE_3, SSSE3, SSE_4,
4040

4141
# Memory types
4242

43-
abstract type DDR2 <: MemoryType end
44-
abstract type DDR3 <: MemoryType end
43+
abstract type RAM <: MemoryType end
44+
abstract type DDR2 <: RAM end
45+
abstract type DDR3 <: RAM end
4546
abstract type DDR3L <: DDR3 end
46-
abstract type DDR4 <: MemoryType end
47+
abstract type DDR4 <: RAM end
4748
abstract type LPDDR4 <: DDR4 end
4849

49-
export DDR2, DDR3, DDR33L, DDR4, LPDDR4
50+
export RAM, DDR2, DDR3, DDR33L, DDR4, LPDDR4
5051

5152
# Storage types
5253
abstract type SSD <: StorageType end

0 commit comments

Comments
 (0)