Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CXX=hipcc
- LLVM=/opt/rocm/llvm/
- read_launch: read_launch.cc
- hipcc read_launch.cc -o read_launch
- module.o: module.ll
- $(LLVM)/bin/clang -c -target amdgcn-amd-amdhsa -mcpu=gfx1010 $< -o module.o
- module.so: module.o
- $(LLVM)/bin/ld.lld -shared module.o -o module.so
- %.o: %.cc
- $(CXX) -c $<
- clean:
- rm -f *.o
- rm -f read_launch
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement