def METHOD_NAME():
    @dace.program
    def tester(A: dace.float64[400, 300]):
        for i, j in dace.map[0:400, 0:300]:
            with dace.tasklet:
                a >> A[i, j]
                a = 1
    sdfg = tester.to_sdfg()
    sdfg.apply_gpu_transformations()
    mapentry: dace.nodes.MapEntry = next(n for n, _ in sdfg.all_nodes_recursive() if isinstance(n, dace.nodes.MapEntry))
    # Test 1: too many dimensions
    mapentry.map.gpu_block_size = (13, 5, 3, 4)
    code = sdfg.generate_code()[1].clean_code  # Get GPU code (second file)
    assert 'dim3(13, 5, 12)' in code
    # Test 2: too few dimensions
    mapentry.map.gpu_block_size = (127, 5)
    code = sdfg.generate_code()[1].clean_code  # Get GPU code (second file)
    assert 'dim3(127, 5, 1)' in code
    # Test 3: compilation
    sdfg.compile()