CS61C 2022fa L08 Data Transfer
CS61C 2022fa L08 Data Transfer
Great Ideas
UC Berkeley
in UC Berkeley
Teaching Computer Architecture Lecturer
Professor (a.k.a. Machine Structures) Justin Yokota
Dan Garcia
Garcia, Yokota
cs61c.org
IS AI-GENERATED ART FAIR?
This year, the Colorado State Fair’s
annual art competition gave out
prizes in all the usual categories:
painting, quilting, sculpture. But
one entrant, Jason M. Allen of
Pueblo West, Colo., didn’t make his
entry with a brush or a lump of
clay. He created it with Midjourney,
an artificial intelligence program
that turns lines of text into hyper-
realistic graphics. Mr. Allen’s work,
“Théâtre D’opéra Spatial,” took
home the blue ribbon in the fair’s
contest for emerging digital artists
— making it one of the first A.I.-
generated pieces to win such a
prize, and setting off a fierce
backlash from artists who accused
him of, essentially, cheating.
Reached by phone on Wednesday,
Mr. Allen defended his work. He
said that he had made clear that
his work — which was submitted
under the name “Jason M. Allen via
Midjourney” — was created using
A.I., and that he hadn’t deceived
anyone about its origins.
“I’m not going to apologize for it,”
www.nytimes.com/2022/09/02/technology/ai-artificial-intelligence-artists.html
he said. “I won, and I didn’t break
Art, AI Collide in Landmark Legal Dispute
Human artists and artificial intelligence (AI) companies
are disputing generative AI-intellectual property in a
landmark legal case.
cacm.acm.org/news/269122-art-ai-collide-in-landmark-legal-dispute
Storing
Data in
Memory
RV32 So Far…
▪ Addition/subtraction
add rd, rs1, rs2
R[rd] = R[rs1] + R[rs2]
sub rd, rs1, rs2
R[rd] = R[rs1] - R[rs2]
▪ Add immediate
addi rd, rs1, imm
R[rd] = R[rs1] + imm
Garcia, Yokota
Program
Address
Datapath
Much larger
ProgramCounter (PC)
place
Bytes
to hold values,
Registers but slower than
Write Data registers!
Data
=Store to
Memory
ReadData
Arithmetic-Logic = Load Output
Unit(ALU) Memo
from ry
Very fast,
but limited space to hold values!
Garcia, Yokota
Garcia, Yokota
address
RISC-V Data Transfer (8)
Data
Transfer
Instructions
Great Idea #3: Principle of Locality / Memory
Hierarchy
Processor Extremely fast
chip Core Extremely
expensive
Registers
Tiny capacity
Fast
DRAM chip Physical Memor y Priced
e.g. DDR3/4/5
Random-Access Memory (RAM)
reasonably
HBM/HBM2/3 Medium
capacity
Garcia, Yokota
Jim Gray
Turing Award
T
h
eT
h
T
e
h
T
e
hT
h
T
e
he Th
i Th he
im … T
e
m eim a h T
g… Th
a he
im
e i T
ge… Th
a m h
Sacramen
im eT
B.S. Cal
e
Th
1.5
g…
a h
im
e
Th e
T
ge…
a
ima
e Th
e
g p… Th h
T
imag
e e
T h
par …
e Th
he
t imag
e Th
i
par … Th
e im
e
Th m
10 Memor
t imag
e ge…
imag a
e
par …
e Th T
T epar …
t imag
e T h
T h t
par …
e Th T h
h
t imag
e h
T
part
e … Th e
hT
wit imag
e T
h
par …
e The he T
to
t part
image he Th
hr
relation … Th
with im … Th
e
1966
sh e
imag a i…
e T
Th
part
e … Th he
ima … Th
e
wit i …
e
g im … Th
e
m imag … Th
a e
e imag …
e Th
e i…
e
0 y
Ph.D. Cal
1 Registe 1969
[ns]
rs My 1
Head min Garcia, Yokota
Data flow
Data flow
lb x12,1(x5)
x5
x11
x12
Garcia, Yokota
Garcia, Yokota
Garcia, Yokota