Handbook
Glossary
storage-space<< ( value object -- )
Vocabulary
accessors
Inputs
value
an
object
object
an
object
Outputs
None
Definition
IN:
accessors
GENERIC:
storage-space<<
( value object -- )
Methods
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
atom
storage-space<<
[
dup
[
ptx-storage-space?
]
[
t
]
if*
[
maybe{
ptx-storage-space
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
cvta
storage-space<<
[
dup
[
ptx-storage-space?
]
[
t
]
if*
[
maybe{
ptx-storage-space
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
isspacep
storage-space<<
[
dup
ptx-storage-space?
[
\
ptx-storage-space
bad-slot-value
]
unless
]
dip
4
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
prefetch
storage-space<<
[
dup
[
ptx-storage-space?
]
[
t
]
if*
[
maybe{
ptx-storage-space
}
bad-slot-value
]
unless
]
dip
5
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
ptx-ldst-instruction
storage-space<<
[
dup
[
ptx-storage-space?
]
[
t
]
if*
[
maybe{
ptx-storage-space
}
bad-slot-value
]
unless
]
dip
8
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
ptx-variable
storage-space<<
[
dup
ptx-storage-space?
[
\
ptx-storage-space
bad-slot-value
]
unless
]
dip
5
set-slot
;
inline
USING:
accessors
cuda.ptx
kernel
slots
slots.private
;
M:
red
storage-space<<
[
dup
[
ptx-storage-space?
]
[
t
]
if*
[
maybe{
ptx-storage-space
}
bad-slot-value
]
unless
]
dip
7
set-slot
;
inline