@@ -83,7 +83,7 @@ TEST_F(MLIRTargetLLVMROCDL, SKIP_WITHOUT_AMDGPU(SerializeROCDLToLLVM)) {
8383 // Serialize the module.
8484 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
8585 ASSERT_TRUE (!!serializer);
86- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Offload);
86+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Offload);
8787 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
8888 std::optional<SmallVector<char , 0 >> object =
8989 serializer.serializeToObject (gpuModule, options);
@@ -119,7 +119,7 @@ TEST_F(MLIRTargetLLVMROCDL,
119119 // Serialize the module.
120120 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
121121 ASSERT_TRUE (!!serializer);
122- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Assembly);
122+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Assembly);
123123 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
124124 std::optional<SmallVector<char , 0 >> object =
125125 serializer.serializeToObject (gpuModule, options);
@@ -145,7 +145,7 @@ TEST_F(MLIRTargetLLVMROCDL,
145145 // Serialize the module.
146146 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
147147 ASSERT_TRUE (!!serializer);
148- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Assembly);
148+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Assembly);
149149 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
150150 std::optional<SmallVector<char , 0 >> object =
151151 serializer.serializeToObject (gpuModule, options);
@@ -169,7 +169,7 @@ TEST_F(MLIRTargetLLVMROCDL, SKIP_WITHOUT_AMDGPU(SerializeROCDLToPTX)) {
169169 // Serialize the module.
170170 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
171171 ASSERT_TRUE (!!serializer);
172- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Assembly);
172+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Assembly);
173173 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
174174 std::optional<SmallVector<char , 0 >> object =
175175 serializer.serializeToObject (gpuModule, options);
@@ -199,7 +199,7 @@ TEST_F(MLIRTargetLLVMROCDL, SKIP_WITHOUT_AMDGPU(SerializeROCDLToBinary)) {
199199 // Serialize the module.
200200 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
201201 ASSERT_TRUE (!!serializer);
202- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Binary);
202+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Binary);
203203 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
204204 std::optional<SmallVector<char , 0 >> object =
205205 serializer.serializeToObject (gpuModule, options);
@@ -243,7 +243,7 @@ TEST_F(MLIRTargetLLVMROCDL, SKIP_WITHOUT_AMDGPU(GetELFMetadata)) {
243243 // Serialize the module.
244244 auto serializer = dyn_cast<gpu::TargetAttrInterface>(target);
245245 ASSERT_TRUE (!!serializer);
246- gpu::TargetOptions options (" " , {}, " " , gpu::CompilationTarget::Binary);
246+ gpu::TargetOptions options (" " , {}, " " , " " , gpu::CompilationTarget::Binary);
247247 for (auto gpuModule : (*module ).getBody ()->getOps <gpu::GPUModuleOp>()) {
248248 std::optional<SmallVector<char , 0 >> object =
249249 serializer.serializeToObject (gpuModule, options);
0 commit comments