AMD AI编译器岗实习oc

【面试】三技术,一hr面
【时间】24年1月初
【岗位】AI compiler
【工作内容】用mlir重构compiler
【问题】
上一家公司做的内容:
如:
1.tvm、tensorRT、cuda展开讲讲。
2.compiler前端针对cpu、gpu、dla的partition切图pass是怎么做的?
3.relay到tensorrt和py的api图codegen是怎么做的?
4.量化概念、掉点严重如何检查出敏感层?检查出来如何解决?(一般是切图或者fallback fp16,或者针对scale替换,针对掉点任务完善校准集等)
5.dla有不支持算子,比如const如何做?
6.多模型并行推理runtime优化如何做的?(一系列实验找出来是同一core下linux的cfs调度问题)
7.c++智能指针、移动语义、虚函数等等八股。
8.手撕
并行课程2 hard、
合并数组区间 mid
图结构搜索+修改某个node语义 mid

#实习# #算法# #外企# #通信硬件实习交流# #正在实习的碎碎念# #实习,投递多份简历没人回复怎么办#
全部评论
阿里妈妈异构计算部门来看看不
1 回复 分享
发布于 2024-03-20 14:10 北京
神😁😁
1 回复 分享
发布于 2024-03-17 22:13 江苏
请问面完多久会接到offer啊
1 回复 分享
发布于 2024-02-27 16:53 江苏
校友康康我😭
点赞 回复 分享
发布于 2024-05-15 13:48 北京
请问楼主是直接在官网投的吗?现在好像没有实习生的岗位了
点赞 回复 分享
发布于 2024-04-25 11:56 陕西
佬是硕还是博
点赞 回复 分享
发布于 2024-03-17 03:21 北京
dla指的是orin上的dla core吗
点赞 回复 分享
发布于 2024-02-27 11:43 北京
zhou神!
点赞 回复 分享
发布于 2024-02-26 13:08 北京

相关推荐

07-28 15:15
门头沟学院 Java
面试八股环节还好,但是我是力扣战士,面试官让在编译器上写代码类都不会怎么写了,两个算法,字母异位词和策略模式,只写了方法,力扣战士凉透了,希望大家平时还是要在编译器上做题策略模式等一些设计模式,希望大家也进行默写,别像我一样会背不会写字母异位词import java.util.*;public class Main {public static List<List<String>> groupAnagrams(String[] strs) {// 用于存储分组结果的映射,键为排序后的字符串,值为对应的字符串列表Map<String, List<String>> anagramGroups = new HashMap<>();for (String s : strs) {// 将字符串转换为字符数组并排序char[] chars = s.toCharArray();Arrays.sort(chars);String sortedStr = new String(chars);// 如果映射中不存在该键,则创建一个新的列表anagramGroups.computeIfAbsent(sortedStr, k -> new ArrayList<>());// 将当前字符串添加到对应的列表中anagramGroups.get(sortedStr).add(s);}// 返回映射中的所有值(即所有分组)return new ArrayList<>(anagramGroups.values());}public static void main(String[] args) {// 示例输入String[] strs = {"eat", "tea", "tan", "ate", "nat", "bat"};// 调用方法获取分组结果List<List<String>> result = groupAnagrams(strs);// 输出结果for (List<String> group : result) {System.out.println(group);}}}策略模式// 支付策略接口interface PaymentStrategy {void pay(double amount);}// 微信支付实现class WechatPay implements PaymentStrategy {@Overridepublic void pay(double amount) {System.out.println("使用微信支付:" + amount + "元");// 微信支付具体实现逻辑}}// 支付宝实现class Alipay implements PaymentStrategy {@Overridepublic void pay(double amount) {System.out.println("使用支付宝支付:" + amount + "元");// 支付宝支付具体实现逻辑}}// 银行卡支付实现class BankCardPay implements PaymentStrategy {@Overridepublic void pay(double amount) {System.out.println("使用银行卡支付:" + amount + "元");// 银行卡支付具体实现逻辑}}// 支付上下文(策略持有者)class PaymentContext {private PaymentStrategy strategy;public PaymentContext(PaymentStrategy strategy) {this.strategy = strategy;}public void setStrategy(PaymentStrategy strategy) {this.strategy = strategy;}public void executePayment(double amount) {strategy.pay(amount);}}// 主类和测试代码public class Main {public static void main(String[] args) {// 创建支付上下文PaymentContext context = new PaymentContext(new WechatPay());// 使用微信支付context.executePayment(100.0);// 切换为支付宝支付context.setStrategy(new Alipay());context.executePayment(200.0);// 切换为银行卡支付context.setStrategy(new BankCardPay());context.executePayment(300.0);}}
查看2道真题和解析
点赞 评论 收藏
分享
评论
25
97
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务